💚 Fix dockerfile missing build-base
This commit is contained in:
parent
804108a209
commit
ed9434b85a
@ -1,11 +1,11 @@
|
|||||||
# Building Backend
|
# Building Backend
|
||||||
FROM rust:alpine as roadsign-server
|
FROM rust:alpine as roadsign-server
|
||||||
|
|
||||||
RUN apk add nodejs npm
|
RUN apk add libressl-dev build-base
|
||||||
|
|
||||||
WORKDIR /source
|
WORKDIR /source
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add libressl-dev
|
ENV RUSTFLAGS="-C target-feature=-crt-static"
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# Runtime
|
# Runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user