Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM docker/dhi-node:23-alpine3.21-dev AS builder
FROM node:current-alpine3.22 AS builder
WORKDIR /app
RUN echo "$(whoami)"
COPY src/ ./src/
COPY package.json .
COPY package-lock.json .
Expand All @@ -10,11 +9,4 @@ COPY specs/ ./specs/
RUN npm install
RUN npm run build

FROM docker/dhi-node:23-alpine3.21
COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/specs/* /app/specs/

WORKDIR /app

CMD ["node", "dist/index.js"]
Loading
Loading