Skip to content

Commit

Permalink
Merge pull request #3939 from NoelDeMartin/MOBILE-4304
Browse files Browse the repository at this point in the history
MOBILE-4304 docker: Fix prod images
  • Loading branch information
dpalou authored Feb 22, 2024
2 parents 088d7cc + 6abe6f0 commit 9a8c80d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ RUN npm ci --no-audit
# Build source
ARG build_command="npm run build:prod"
COPY . /app
# We want emulator code in Docker images ― even for production bundles ― because they will always run in a browser environment.
RUN cp /app/src/core/features/emulator/emulator.module.ts /app/src/core/features/emulator/emulator.module.prod.ts
RUN ${build_command}

# Generate SSL certificate
Expand Down

0 comments on commit 9a8c80d

Please sign in to comment.