Fix Docker setup and add back back an entrypoint

* Also add special deps for argon2 support inside the Alpine image
* Make sure yarn install is triggered

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-04-30 13:16:29 +02:00
parent ff7fd460f0
commit f8ed5cd779
5 changed files with 11 additions and 7 deletions

View File

@@ -1,11 +1,10 @@
FROM bitwalker/alpine-elixir:latest
RUN apk add inotify-tools postgresql-client yarn
RUN apk add --no-cache make gcc libc-dev
RUN mix local.hex --force && mix local.rebar --force
COPY docker/entrypoint.sh /bin/entrypoint
WORKDIR /app
EXPOSE 4000 4001 4002