This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(node): update to 18.20.1 (#1374)
https://nodejs.org/en/blog/vulnerability/april-2024-security-releases/ Co-authored-by: Jamie King <[email protected]>
- Loading branch information
1 parent
c467c32
commit d1f0d4d
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.17.1 | ||
18.20.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# which includes build utils preinstalled (e.g. gcc, make, etc). | ||
# This will result in faster and reliable One App docker image | ||
# builds as we do not have to run apk installs for alpine. | ||
FROM node:18.17.1 as builder | ||
FROM node:18.20.1 as builder | ||
WORKDIR /opt/build | ||
RUN npm install -g [email protected] --registry=https://registry.npmjs.org | ||
COPY --chown=node:node ./ /opt/build | ||
|
@@ -29,7 +29,7 @@ RUN NODE_ENV=production npm run build && \ | |
|
||
# development image | ||
# docker build . --target=development | ||
FROM node:18.17.1-alpine as development | ||
FROM node:18.20.1-alpine as development | ||
ARG USER | ||
ENV USER ${USER:-node} | ||
ENV NODE_ENV=development | ||
|
@@ -47,7 +47,7 @@ COPY --from=builder --chown=node:node /opt/one-app/development ./ | |
|
||
# production image | ||
# last so that it's the default image artifact | ||
FROM node:18.17.1-alpine as production | ||
FROM node:18.20.1-alpine as production | ||
ARG USER | ||
ENV USER ${USER:-node} | ||
ENV NODE_ENV=production | ||
|