Skip to content

Commit

Permalink
Pin docker dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sydseter committed Feb 12, 2025
1 parent 0a95e34 commit a5d2026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cornucopia.owasp.org/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS builder
FROM node:iron-alpine3.21@sha256:957dbf2afb4f22d9e2b94b981e242cbb796965cd3d9cc02d436e2a05fa0ec300 AS builder

WORKDIR /app

Expand All @@ -14,7 +14,7 @@ COPY . .
RUN pnpm run build

# Production stage
FROM nginx:alpine
FROM nginx:alpine3.21@sha256:b471bb609adc83f73c2d95148cf1bd683408739a3c09c0afc666ea2af0037aef

# Copy the built assets from builder stage to nginx
COPY --from=builder /app/build /usr/share/nginx/html
Expand Down

0 comments on commit a5d2026

Please sign in to comment.