Skip to content

Commit

Permalink
Merge branch 'main' into renovate/npm-vite-vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Oct 8, 2024
2 parents fc6d166 + 3ae9179 commit 518a489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build static files
# Node Bullseye has npm
FROM node:20.14.0-bullseye-slim AS build
ENV NODE_ENV production
ENV NODE_ENV=production

# Copy and build
WORKDIR /app
Expand All @@ -12,7 +12,7 @@ RUN npm i --ignore-scripts --no-update-notifer --omit=dev
# Deploy container
# Distroless has node, but not npm
FROM gcr.io/distroless/nodejs20-debian11:nonroot AS deploy
ENV NODE_ENV production
ENV NODE_ENV=production

# Copy over app
WORKDIR /app
Expand Down

0 comments on commit 518a489

Please sign in to comment.