initial docker setup for bump

This commit is contained in:
2022-01-11 13:49:43 +01:00
commit 761700386c
4 changed files with 75 additions and 0 deletions

16
bump/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
# Elixir + Phoenix
FROM elixir:1.12.2
# Install debian packages
RUN apt-get update
RUN apt-get install --yes build-essential inotify-tools postgresql-client
# Install Phoenix packages
RUN mix local.hex --force
RUN mix local.rebar --force
RUN mix archive.install hex phx_new --force
COPY setup.sh /usr/local/bin/
EXPOSE 4012
ENTRYPOINT ["setup.sh"]