Browse Source

Use prod env when generating Swagger docs

master
buttercat1791 2 months ago
parent
commit
11194cbdea
  1. 2
      Dockerfile

2
Dockerfile

@ -19,7 +19,7 @@ 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
RUN mix phx.swagger.generate RUN MIX_ENV=prod mix phx.swagger.generate
# Compile application static assets # Compile application static assets
RUN MIX_ENV=prod mix assets.deploy RUN MIX_ENV=prod mix assets.deploy

Loading…
Cancel
Save