9 lines
213 B
Docker
9 lines
213 B
Docker
FROM alpine:3.20 as builder
|
|
RUN apk add cargo
|
|
COPY . /turn-api
|
|
WORKDIR /turn-api
|
|
RUN cargo build --release
|
|
FROM alpine:3.20
|
|
RUN apk add libgcc
|
|
COPY --from=builder /turn-api/target/release/turn-api /
|
|
CMD /turn-api
|