Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:18-bullseye as build
FROM node:22-bullseye as build
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm ci
RUN npm run build
RUN chmod +x dist/bin/*.js
RUN rm -rf node_modules

FROM node:18-bullseye
FROM node:22-bullseye
USER node
WORKDIR /usr/src/app
COPY --chown=node:node --from=build /usr/src/app/ .
Expand Down
Loading
Loading