Skip to content

Commit 9a8c80d

Browse files
authored
Merge pull request #3939 from NoelDeMartin/MOBILE-4304
MOBILE-4304 docker: Fix prod images
2 parents 088d7cc + 6abe6f0 commit 9a8c80d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RUN npm ci --no-audit
2121
# Build source
2222
ARG build_command="npm run build:prod"
2323
COPY . /app
24+
# We want emulator code in Docker images ― even for production bundles ― because they will always run in a browser environment.
25+
RUN cp /app/src/core/features/emulator/emulator.module.ts /app/src/core/features/emulator/emulator.module.prod.ts
2426
RUN ${build_command}
2527

2628
# Generate SSL certificate

0 commit comments

Comments
 (0)