Browse Source

Remove `mix assets.deploy` step

master
buttercat1791 2 months ago
parent
commit
ef34397ad9
  1. 5
      Dockerfile

5
Dockerfile

@ -15,15 +15,12 @@ COPY . . @@ -15,15 +15,12 @@ COPY . .
# Compile the application
RUN mix local.hex --force && mix local.rebar --force
RUN mix deps.get
RUN mix deps.get --only prod
RUN MIX_ENV=prod mix compile
# Update the static Swagger documentation
RUN MIX_ENV=prod mix phx.swagger.generate
# Compile application static assets
RUN MIX_ENV=prod mix assets.deploy
# Set the locale
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en

Loading…
Cancel
Save