Use alpine in elixir docker file

This commit is contained in:
Vincent 2019-04-17 17:13:20 +02:00
parent bd25a772da
commit 55e2a1a022

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 RUN mix local.hex --force && mix local.rebar --force
@ -8,4 +8,4 @@ COPY docker/entrypoint.sh /bin/entrypoint
WORKDIR /app WORKDIR /app
EXPOSE 4000 4001 4002 EXPOSE 4000 4001 4002