Use alpine in elixir docker file
This commit is contained in:
parent
be169459e4
commit
323ea0dad9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue