Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
FROM node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 AS frontend
WORKDIR /frontend
COPY package.json package-lock.json ./
RUN npm ci --ignore-scripts --no-audit --no-fund \
&& test -s node_modules/bootstrap/dist/css/bootstrap.min.css \
&& test -s node_modules/bootstrap/dist/js/bootstrap.bundle.min.js

FROM python:3.13-slim-trixie@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285 AS app
ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 DEBUG=0 \
ALLOWED_HOSTS=testing.nc3.lu PKGVER=GitHub-0-gmain
Expand All @@ -24,4 +31,5 @@ ENTRYPOINT ["/app/start.sh"]

FROM nginx:stable-alpine@sha256:dc5069ad14f19660b141b21236140b91656bf89bbc3e2417c70ae650cd66104c AS proxy
COPY --from=app /app/static/ /srv/testing-static/
COPY --from=frontend /frontend/node_modules/ /srv/testing-static/npm_components/
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
Loading