Skip to content

Commit

Permalink
Updated to Node 20 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmccartney committed Dec 14, 2023
1 parent 28553cb commit f43a33c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.19-alpine
FROM node:20-alpine

RUN deluser --remove-home node

Expand Down
2 changes: 1 addition & 1 deletion src/services/dockerfile-write.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = async (filepath) => {

const filename = path.join(filepath, "Dockerfile");
const fileArray = [
"FROM node:16.19-alpine",
"FROM node:20-alpine",
`WORKDIR ${moduleHome}`,
`COPY . .`,
`RUN apk add iputils`, //Added due to issue - https://github.com/danielzzz/node-ping/issues/89
Expand Down

0 comments on commit f43a33c

Please sign in to comment.