wiki/Dockerfile
Ada 0cb7f195ad
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update service & better docker image
2024-04-01 23:58:44 +02:00

14 lines
401 B
Docker

# Build
FROM alpine:latest AS build
LABEL authors="gnousEU"
WORKDIR /build
COPY . .
RUN apk add wget gzip tar && \
wget -O mdbook.tar.gz https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-musl.tar.gz && \
tar xvf mdbook.tar.gz && \
./mdbook build
FROM ghcr.io/static-web-server/static-web-server:2.28
COPY --from=build /build/book /public