Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 725 Bytes
# Elixir 1.4:
FROM elixir:1.4.5
ENV DEBIAN_FRONTEND=noninteractive
# Install hex
RUN mix local.hex --force
# Install rebar
RUN mix local.rebar --force
# Install the Phoenix framework itself
RUN mix archive.install --force
# Install NodeJS 6.x and the NPM
RUN curl -sL | bash -
RUN apt-get install -y -q nodejs
# Install inotify for live reload
RUN apt-get install inotify-tools -y
# Set /app as workdir
RUN mkdir /app
ADD . /app
# Install phoenix dependencies
RUN mix deps.get
# Install node dependecies
RUN cd assets/ && npm install -g yarn && yarn install && cd ..
You can’t perform that action at this time.