Justfile build and dev targets, working containerfile

This commit is contained in:
Imbus 2023-10-17 19:43:26 +02:00
parent 7c65c54e61
commit 2b1e350ce1
4 changed files with 30 additions and 1 deletions

7
server/Containerfile Normal file
View file

@ -0,0 +1,7 @@
FROM docker.io/rust:latest as builder
workdir /app
ADD . /app
RUN cargo clean
RUN cargo build --release
EXPOSE 8080
CMD ["cargo", "run", "--release"]