Skip to content

Commit

Permalink
fix(Dockerfile): build only the api package
Browse files Browse the repository at this point in the history
Signed-off-by: iverly <[email protected]>
  • Loading branch information
iverly committed Apr 25, 2023
1 parent 21ab445 commit d260e22
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 @@ -6,7 +6,7 @@ WORKDIR /app
COPY . .

RUN apk add --no-cache musl-dev && \
cargo build --release
cargo build -p api --release

# Step 2: Run
FROM alpine:latest
Expand Down

0 comments on commit d260e22

Please sign in to comment.