Use alpine in elixir docker file

This commit is contained in:
Vincent 2019-04-17 17:13:20 +02:00
parent be169459e4
commit 323ea0dad9

View file

@ -1,6 +1,6 @@
FROM elixir:1.7
FROM bitwalker/alpine-elixir:latest
RUN apt-get update && apt-get install -y build-essential inotify-tools postgresql-client
RUN apk add inotify-tools postgresql-client yarn
RUN mix local.hex --force && mix local.rebar --force
@ -8,4 +8,4 @@ COPY docker/entrypoint.sh /bin/entrypoint
WORKDIR /app
EXPOSE 4000 4001 4002
EXPOSE 4000 4001 4002