Skip to content

Commit

Permalink
Set working node version
Browse files Browse the repository at this point in the history
  • Loading branch information
andychase committed Oct 23, 2024
1 parent b22c24c commit 32ac32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ---- Base Node ----
FROM node:alpine AS base
FROM node:alpine@sha256:c9bb43423a6229aeddf3d16ae6aaa0ff71a0b2951ce18ec8fedb6f5d766cf286 AS base
WORKDIR /app
COPY package*.json ./
COPY *env ./
Expand All @@ -14,7 +14,7 @@ COPY . .
RUN npm run build

# ---- Production ----
FROM node:alpine AS production
FROM node:alpine@sha256:c9bb43423a6229aeddf3d16ae6aaa0ff71a0b2951ce18ec8fedb6f5d766cf286 AS production
WORKDIR /app
COPY --from=dependencies /app/node_modules ./node_modules
COPY --from=build /app/.next ./.next
Expand Down

0 comments on commit 32ac32c

Please sign in to comment.