fix(backend): compilation

The project could not compile previously due to the musl and the
missing openssl libraries. This is now fixed.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
This commit is contained in:
Lucien Cartier-Tilet 2023-02-09 11:57:29 +01:00
parent 7f217641f0
commit a0236ba459
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -5,6 +5,7 @@ WORKDIR /app
COPY Cargo.toml /app/Cargo.toml COPY Cargo.toml /app/Cargo.toml
COPY Cargo.lock /app/Cargo.lock COPY Cargo.lock /app/Cargo.lock
COPY src /app/src COPY src /app/src
RUN apk update && apk add pkgconfig openssl-dev musl-dev
RUN cargo build --release RUN cargo build --release
RUN cargo install --path . RUN cargo install --path .