summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-11-20 22:22:35 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-11-20 22:23:12 +0100
commited6e98137754f168480e0700063b01f14dd4f240 (patch)
tree950060c2f6c97fc7596f8b7038f7cdc42884e135 /Dockerfile
parent745841f0a64fe122a93b0426e3c249b089fb7052 (diff)
Fix dockerfile for server dir
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 0d5b8e5..0a8032b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,11 +2,11 @@
FROM rust:latest as cargo-build
WORKDIR /usr/src/m6-ie-2022
-COPY . .
+COPY server .
ARG DATABASE_URL="postgres://user:password@localhost:5432/m6-ie-2022"
-RUN cargo install --path server/. && cargo install sqlx-cli
+RUN cargo install --path . && cargo install sqlx-cli
EXPOSE 9090
CMD ["m6-ie-2022"]