Exclude Electron files from web image

This commit is contained in:
2026-08-25 16:31:50 +00:00
parent 52969fd1a8
commit f79415d2f6
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -47,6 +47,12 @@ RUN test -n "$VITE_HCAPTCHA_SITEKEY" \
RUN npm run build
# Electron entry points are not part of the web deployment.
RUN rm -f \
build/electron-config.json \
build/electron.js \
build/preload.js
FROM nginx:alpine AS runtime
COPY nginx/default.conf /etc/nginx/conf.d/default.conf