fix build

This commit is contained in:
41666 2022-11-20 22:33:16 -05:00
parent 75ab42ecb5
commit dae504b7af
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM rust:1.65.0-alpine AS builder
FROM rust:1.65.0-bullseye AS builder
ARG SERVICE
WORKDIR /app
@ -8,7 +8,7 @@ COPY services ./services
RUN cargo build --bin ${SERVICE} --release
FROM alpine AS target
FROM debian:bullseye-slim AS target
ARG SERVICE
COPY --from=builder /app/target/release/${SERVICE} /app