Skip to content

Commit

Permalink
Update Dockerfiles to use Node.js 18
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Nov 18, 2024
1 parent 334faa8 commit 50de274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/nodejs-16-minimal
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal

ENV TZ="Europe/Helsinki"

Expand Down
4 changes: 2 additions & 2 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16
FROM node:18-alpine

ENV TZ="Europe/Helsinki"

Expand All @@ -9,4 +9,4 @@ RUN npm i

EXPOSE 3000

CMD ["npm", "run", "start:dev"]
CMD ["node_modules/.bin/tsx", "watch", "--clear-screen=false", "src/index.ts"]

0 comments on commit 50de274

Please sign in to comment.