feat: add dockerfile to make fetch system deps
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM elixir:1.15.7-slim AS builder
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install make
|
||||
|
||||
WORKDIR /opt/app
|
||||
COPY ./mix.exs ./
|
||||
COPY ./mix.lock ./
|
||||
RUN mix do local.hex --force, local.rebar --force \
|
||||
&& mix do deps.get, deps.compile
|
Reference in New Issue
Block a user