many changes
This commit is contained in:
parent
4777f46a38
commit
be177af6cd
25 changed files with 2059 additions and 47 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue