File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,19 @@ COPY server-package.json package.json
22
22
23
23
# Build and cleanup in a single layer
24
24
RUN cp -R build/src/* src/. && \
25
- cp build/docker_healthcheck.js . && \
26
- rm -r build && \
25
+ cp build/docker_healthcheck.js . && \
27
26
rm docker_healthcheck.ts && \
28
27
npm install && \
29
28
npm run webpack && \
30
29
npm prune --omit=dev && \
31
30
npm cache clean --force && \
32
31
cp src/public/app/share.js src/public/app-dist/. && \
33
32
cp -r src/public/app/doc_notes src/public/app-dist/. && \
34
- rm -rf src/public/app && \
35
- rm src/services/asset_path.ts
33
+ rm -rf src/public/app/* && \
34
+ mkdir -p src/public/app/services && \
35
+ cp -r build/src/public/app/services/mime_type_definitions.js src/public/app/services/mime_type_definitions.js && \
36
+ rm src/services/asset_path.ts && \
37
+ rm -r build
36
38
37
39
# Runtime stage
38
40
FROM node:22.13.0-bullseye-slim
You can’t perform that action at this time.
0 commit comments