septastic/Dockerfile
Nicholas Orlowsky 38d9daea3f
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 5m30s
fix dockerfile
2025-09-14 00:44:31 -04:00

18 lines
321 B
Docker

FROM rust:1.86.0 as build
ENV PKG_CONFIG_ALLOW_CROSS=1
WORKDIR .
COPY ./api ./api
COPY ./libseptastic/ ./libseptastic/
COPY ./api/assets ./assets
COPY ./api/templates ./templates
RUN cd api && cargo build --release
ENV RUST_LOG=info
ENV EXPOSE_PORT=8080
EXPOSE 8080
ENTRYPOINT ["/api/target/release/septastic_api"]