Skip to content

Commit

Permalink
Merge pull request GoogleContainerTools#1161 from omBratteng/update-n…
Browse files Browse the repository at this point in the history
…odejs-examples

Update nodejs examles to use the new images
  • Loading branch information
loosebazooka authored Nov 1, 2022
2 parents 1f95df0 + 874cac7 commit 8dfc8d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

RUN npm ci --omit=dev

FROM gcr.io/distroless/nodejs:18
FROM gcr.io/distroless/nodejs18-debian11
COPY --from=build-env /app /app
WORKDIR /app
CMD ["hello.js"]
2 changes: 1 addition & 1 deletion examples/nodejs/node-express/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ADD . /app
WORKDIR /app
RUN npm install --omit=dev

FROM gcr.io/distroless/nodejs:18
FROM gcr.io/distroless/nodejs18-debian11
COPY --from=build-env /app /app
WORKDIR /app
EXPOSE 3000
Expand Down

0 comments on commit 8dfc8d3

Please sign in to comment.