Skip to content

Commit 47d4329

Browse files
committed
Migrate to node:23
1 parent d9b124a commit 47d4329

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
node_modules
22
.git
3+
.env
4+
.circleci
5+
.github

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
1-
FROM alpine:3.14@sha256:eb3e4e175ba6d212ba1d6e04fc0782916c08e1c9d7b45892e9796141b1d379ae
1+
FROM node:23
22

33
ENV BLUEBIRD_WARNINGS=0 \
44
NODE_ENV=production \
55
NODE_NO_WARNINGS=1 \
66
NPM_CONFIG_LOGLEVEL=warn \
77
SUPPRESS_NO_CONFIG_WARNING=true
88

9-
RUN apk add --no-cache \
10-
nodejs gdbm curl
11-
129
COPY package.json ./
1310

14-
RUN apk add --no-cache npm && npm i --no-optional && npm cache clean --force && apk del npm
11+
RUN npm i --no-optional && npm cache clean --force
1512

1613
COPY . /app
1714

18-
#RUN adduser -D appuser
19-
#USER appuser
20-
2115
CMD ["node","/app/app.js"]
2216

2317
EXPOSE 3000

0 commit comments

Comments
 (0)