Skip to content

Commit

Permalink
Use node slim (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot authored Nov 27, 2023
1 parent f9ed22e commit 04b4105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS builder
FROM node:18-slim AS builder

COPY ./ /app/
WORKDIR /app
Expand All @@ -8,7 +8,7 @@ RUN yarn install
ENV NODE_ENV=production
RUN yarn build

FROM node:18-alpine
FROM node:18-slim

COPY --from=builder /app/lib /app/lib
COPY --from=builder /app/srv /app/srv
Expand Down

0 comments on commit 04b4105

Please sign in to comment.