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:
parent
7f217641f0
commit
a0236ba459
@ -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 .
|
||||||
|
Loading…
Reference in New Issue
Block a user