septastic/Dockerfile
Nicholas Orlowsky be177af6cd
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
many changes
2025-09-12 19:08:22 -04:00

16 lines
244 B
Docker

FROM rust:1.86.0 as build
ENV PKG_CONFIG_ALLOW_CROSS=1
WORKDIR .
COPY ./api ./api
COPY ./libseptastic/ ./libseptastic/
RUN cd api && cargo install --path .
ENV RUST_LOG=info
ENV EXPOSE_PORT=80
EXPOSE 80
ENTRYPOINT ["./api/septastic_api"]