Skip to content

Commit

Permalink
fix: use alpine (needed for health checks)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes-Andersen committed Nov 17, 2024
1 parent c16aa97 commit 714139f
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:23.1.0 AS base
FROM node:23-alpine AS base
WORKDIR /app

ARG DISCORD_SNOWFLAKE
Expand All @@ -16,7 +16,7 @@ FROM build-deps AS build
COPY . .
RUN npm run build

FROM gcr.io/distroless/nodejs22-debian12 AS runtime
FROM base AS runtime
COPY --from=prod-deps /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist

Expand Down

0 comments on commit 714139f

Please sign in to comment.