2024-06-06 17:24:03 +02:00
|
|
|
FROM alpine:3.20 as builder
|
2024-03-31 18:24:42 +02:00
|
|
|
RUN apk add cargo
|
|
|
|
COPY . /turn-api
|
|
|
|
WORKDIR /turn-api
|
|
|
|
RUN cargo build --release
|
2024-06-06 17:24:03 +02:00
|
|
|
FROM alpine:3.20
|
2024-03-31 18:24:42 +02:00
|
|
|
RUN apk add libgcc
|
|
|
|
COPY --from=builder /turn-api/target/release/turn-api /
|
|
|
|
CMD /turn-api
|