Skip to content

Commit cad0cb6

Browse files
committed
feat(deps): update node.js to v17
1 parent 315a5bb commit cad0cb6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.deploy/api/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ RUN mkdir /user && \
1313
echo 'nobody:x:65534:' > /user/group
1414

1515
######################################################################
16-
FROM node:16-alpine as prod-dependencies
16+
FROM node:17-alpine as prod-dependencies
1717
######################################################################
1818
WORKDIR /app
1919
ENV NODE_ENV production
2020
COPY apps/api/package.json yarn.lock ./
2121
RUN yarn --production --frozen-lockfile
2222

2323
######################################################################
24-
FROM node:16-alpine as dev-dependencies
24+
FROM node:17-alpine as dev-dependencies
2525
######################################################################
2626
WORKDIR /app
2727
COPY apps/api/package.json apps/api/package.json
@@ -30,7 +30,7 @@ RUN yarn --no-cache --ignore-optional --frozen-lockfile && \
3030
yarn add typescript@3.7.0-beta -W
3131

3232
######################################################################
33-
FROM node:16-alpine as builder
33+
FROM node:17-alpine as builder
3434
######################################################################
3535
WORKDIR /app
3636
COPY --from=dev-dependencies /app /app
@@ -45,7 +45,7 @@ RUN $(npm bin)/ng build api --prod
4545
######################################################################
4646
# TODO: `distroless/nodejs` has an issue with `sharp` npm package
4747
# FROM gcr.io/distroless/nodejs as final
48-
FROM node:16-alpine as final
48+
FROM node:17-alpine as final
4949
######################################################################
5050
# Import the user and group files from the first stage.
5151
COPY --from=utils /user/group /user/passwd /etc/

.deploy/webapp/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
######################################################################
2-
FROM node:16-alpine as dev-dependencies
2+
FROM node:17-alpine as dev-dependencies
33
######################################################################
44
WORKDIR /app
55
COPY package.json yarn.lock ./
66
RUN yarn --no-cache --ignore-optional --frozen-lockfile
77

88
######################################################################
9-
FROM node:16-alpine as builder
9+
FROM node:17-alpine as builder
1010
######################################################################
1111
WORKDIR /app
1212
COPY --from=dev-dependencies /app /app

0 commit comments

Comments
 (0)