diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2022-09-13 16:03:56 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-13 16:03:56 +0000 |
| commit | e7a3abefc23a63b7375f6dfde0df8441a01ee321 (patch) | |
| tree | e8a4138c717b21c254284dc3ec0e6c08f1c0675f | |
| parent | 3f0efabcdc8fd12535c29acc734474e093e6f2f5 (diff) | |
Add dockerfile
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..70823de --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +# build stage +FROM rust:latest as cargo-build + +WORKDIR /usr/src/verden +COPY . . + +RUN cargo install --path . && cargo install sqlx-cli +EXPOSE 9090 + +CMD ["verden"] |
