main
overlisted 2 years ago
parent abd50f292d
commit d0978d76aa
Signed by: me
GPG Key ID: 1ACCDCC0429C9737

@ -0,0 +1,2 @@
target
.git

@ -0,0 +1,13 @@
FROM rustlang/rust:nightly-slim
RUN apt update; apt install -y libpq-dev
WORKDIR /code
COPY . .
RUN cargo build -r
RUN mv ./target/release/mango /mango
RUN rm -rf ./target
EXPOSE 8000
CMD /mango
LABEL org.opencontainers.image.source https://github.com/overlisted/mango
Loading…
Cancel
Save