Skip to content

Commit

Permalink
Use rust slim-buster docker image in production
Browse files Browse the repository at this point in the history
  • Loading branch information
terror committed May 3, 2024
1 parent b534d47 commit 3e2a691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM client AS build
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run build -- --mode=production

FROM rust:1.70-buster as server
FROM rust:slim-buster as server

WORKDIR /usr/src/app
COPY . .
Expand Down

0 comments on commit 3e2a691

Please sign in to comment.