Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Dockerfile: bump: 20.10.0
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
pheiduck committed Nov 25, 2023
1 parent ccb7ca8 commit d17cc42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# There's an issue with node:20-alpine.
# Docker deployment is canceled after 25< minutes.

FROM docker.io/library/node:20-alpine@sha256:cb2301e2c5fe3165ba2616591efe53b4b6223849ac0871c138f56d5f7ae8be4b AS build_node_modules
FROM docker.io/library/node:20-alpine@sha256:b1789b7be6aa16afd642eaaaccdeeeb33bd8f08e69b3d27d931aa9665b731f01 AS build_node_modules

RUN npm config set fund false &&\
npm config set update-notifier false
Expand All @@ -12,7 +12,7 @@ WORKDIR /app
RUN npm ci --legacy-peer-deps
# Copy build result to a new image.
# This saves a lot of disk space.
FROM docker.io/library/node:20-alpine@sha256:cb2301e2c5fe3165ba2616591efe53b4b6223849ac0871c138f56d5f7ae8be4b
FROM docker.io/library/node:20-alpine@sha256:b1789b7be6aa16afd642eaaaccdeeeb33bd8f08e69b3d27d931aa9665b731f01
COPY --from=build_node_modules /app /app

# Move node_modules one directory up, so during development
Expand Down

0 comments on commit d17cc42

Please sign in to comment.