Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix(node): bump node to 16.20.1 for security patches (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
PixnBits authored Jun 30, 2023
1 parent 3749461 commit 7484c61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:16.20.0 as builder
FROM node:16.20.1 as builder
WORKDIR /opt/build
RUN npm install -g npm@8.8.0 --registry=https://registry.npmjs.org
COPY --chown=node:node ./ /opt/build
Expand All @@ -29,7 +29,7 @@ RUN NODE_ENV=production npm run build && \

# development image
# docker build . --target=development
FROM node:16.20.0-alpine as development
FROM node:16.20.1-alpine as development
ARG USER
ENV USER ${USER:-node}
ENV NODE_ENV=development
Expand All @@ -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:16.20.0-alpine as production
FROM node:16.20.1-alpine as production
ARG USER
ENV USER ${USER:-node}
ENV NODE_ENV=production
Expand Down

0 comments on commit 7484c61

Please sign in to comment.