adding validated services? patching forcad_local.py
This commit is contained in:
13
OmCTF-2025/services/polyphonia/Dockerfile.frontend-builder
Normal file
13
OmCTF-2025/services/polyphonia/Dockerfile.frontend-builder
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:20.19.5-bookworm-slim AS frontend-builder
|
||||
|
||||
WORKDIR /frontend
|
||||
|
||||
COPY frontend/package*.json ./
|
||||
RUN npm install --no-audit --no-fund
|
||||
|
||||
COPY frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM nginx:1.29.2-trixie
|
||||
COPY --from=frontend-builder /frontend/dist /frontend-dist
|
||||
Reference in New Issue
Block a user