Skip to content

Instantly share code, notes, and snippets.

@hex337
Last active August 17, 2018 04:03
Show Gist options
  • Save hex337/056f7556d185131b7813837cade263fb to your computer and use it in GitHub Desktop.
Save hex337/056f7556d185131b7813837cade263fb to your computer and use it in GitHub Desktop.
FROM elixir:1.6
MAINTAINER you@gmail.com
ENV HOME=/usr/src/phoenix-api
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y inotify-tools build-essential postgresql-client
# Uncomment if you need to use a front-end
#RUN apt-get install -y sudo wget curl zip unzip
# If you plan to run a web interface, you'll want to use the following:
#RUN curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - && apt-get install -y nodejs
ADD . $HOME
WORKDIR $HOME
EXPOSE 4000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment