Use alpine in elixir docker file
This commit is contained in:
parent
bd25a772da
commit
55e2a1a022
@ -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 New Issue
Block a user