diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"] |