From ed6e98137754f168480e0700063b01f14dd4f240 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 20 Nov 2022 22:22:35 +0100 Subject: Fix dockerfile for server dir --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') 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"] -- cgit v1.2.3-18-g5258