Skip to content

Commit 6abe6f0

Browse files
committed
MOBILE-4304 docker: Fix prod images
1 parent 088d7cc commit 6abe6f0

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)