Skip to content

Commit 01b75fc

Browse files
committed
fix: Upgrade node version in backend to try and fix build failure
1 parent f1881e9 commit 01b75fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/Dockerfile.prod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM node:18.12.0 AS api-builder
1+
FROM node:20.9.0 AS api-builder
22
RUN mkdir /srv/backend
33
WORKDIR /srv/backend
44
RUN mkdir -p node_modules
55
COPY package.json yarn.lock ./
66
RUN yarn install --pure-lockfile
77
COPY . .
88

9-
FROM node:18.12.0-slim AS api-production
9+
FROM node:20.9.0-slim AS api-production
1010
EXPOSE 4000
1111
USER node
1212
WORKDIR /srv/backend

0 commit comments

Comments
 (0)