MOBILE-4304 docker: Fix prod images
parent
088d7ccc55
commit
6abe6f0b59
|
@ -21,6 +21,8 @@ RUN npm ci --no-audit
|
||||||
# Build source
|
# Build source
|
||||||
ARG build_command="npm run build:prod"
|
ARG build_command="npm run build:prod"
|
||||||
COPY . /app
|
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}
|
RUN ${build_command}
|
||||||
|
|
||||||
# Generate SSL certificate
|
# Generate SSL certificate
|
||||||
|
|
Loading…
Reference in New Issue