Skip to content

Commit

Permalink
feat: fuck alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialSirH committed Feb 5, 2024
1 parent 38a95ee commit 821c2db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ COPY src/ src/
COPY sql/ sql/
RUN cargo build --release

FROM alpine:latest
RUN apk update && apk add --no-interactive ca-certificates && rm -rf /var/lib/apt/lists/*
FROM debian:buster-slim
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
COPY .env /.env
COPY sql /sql
COPY --from=builder /usr/src/myapp/target/release/c2s-linked-roles /usr/local/bin/c2s-linked-roles
Expand Down

0 comments on commit 821c2db

Please sign in to comment.