Skip to content

Commit

Permalink
perf: use alpine as runner
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Sep 24, 2024
1 parent 4e7131c commit bb15324
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ COPY . .
RUN bun run build


FROM base AS runner
FROM node:21-alpine AS runner

WORKDIR /app

ENV NODE_ENV production

Check warning on line 24 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Expand Down

0 comments on commit bb15324

Please sign in to comment.