13 lines
257 B
Docker
13 lines
257 B
Docker
FROM rust:latest AS builder
|
|
|
|
COPY ./ /src
|
|
|
|
RUN cd /src && cargo build --release
|
|
|
|
FROM debian:trixie
|
|
|
|
RUN apt-get update && apt-get install -y ca-certificates
|
|
|
|
COPY --from=builder /src/target/release/openeuicc-site /openeuicc-site
|
|
|
|
CMD [ "/openeuicc-site" ]
|