summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 0d5b8e57bab0d3b1d7e56fc9c3b7c84a35ffd153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# build stage
FROM rust:latest as cargo-build

WORKDIR /usr/src/m6-ie-2022
COPY . .

ARG DATABASE_URL="postgres://user:password@localhost:5432/m6-ie-2022"

RUN cargo install --path server/. && cargo install sqlx-cli
EXPOSE 9090

CMD ["m6-ie-2022"]