Skip to content

Commit

Permalink
Upgrade backend's node version
Browse files Browse the repository at this point in the history
  • Loading branch information
damianstasik committed Oct 15, 2023
1 parent d1f5bcb commit afd379d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.15.0-alpine3.17 AS builder
FROM node:18.18.2-alpine3.18 AS builder

RUN apk add --no-cache libc6-compat
RUN apk update
Expand All @@ -7,7 +7,7 @@ RUN npm i --global turbo
COPY . .
RUN turbo prune --scope=backend --docker

FROM node:18.15.0-alpine3.17 AS installer
FROM node:18.18.2-alpine3.18 AS installer

RUN apk add --no-cache libc6-compat
RUN apk update
Expand All @@ -20,7 +20,7 @@ COPY --from=builder /app/out/full/ .
COPY turbo.json turbo.json
RUN npm run build:backend

FROM node:18.15.0-alpine3.17 AS runner
FROM node:18.18.2-alpine3.18 AS runner

WORKDIR /app
RUN addgroup --system --gid 1001 nodejs
Expand Down

0 comments on commit afd379d

Please sign in to comment.