💚 Fix dockerfile missing build-base

This commit is contained in:
LittleSheep 2024-02-13 21:03:33 +08:00
parent 804108a209
commit ed9434b85a

View File

@ -1,11 +1,11 @@
# Building Backend
FROM rust:alpine as roadsign-server
RUN apk add nodejs npm
RUN apk add libressl-dev build-base
WORKDIR /source
COPY . .
RUN apk add libressl-dev
ENV RUSTFLAGS="-C target-feature=-crt-static"
RUN cargo build --release
# Runtime