|
|
|
@ -14,6 +14,8 @@ WORKDIR /app |
|
|
|
COPY . . |
|
|
|
COPY . . |
|
|
|
|
|
|
|
|
|
|
|
# Compile the application |
|
|
|
# Compile the application |
|
|
|
|
|
|
|
RUN mix local.hex --force && mix local.rebar --force |
|
|
|
|
|
|
|
RUN mix deps.get --only prod |
|
|
|
RUN MIX_ENV=prod mix compile |
|
|
|
RUN MIX_ENV=prod mix compile |
|
|
|
|
|
|
|
|
|
|
|
# Update the static Swagger documentation |
|
|
|
# Update the static Swagger documentation |
|
|
|
|