wiki/Dockerfile
Ada dfcbfd2f82
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Bump mdbook version
2024-07-07 14:55:57 +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.40/mdbook-v0.4.40-x86_64-unknown-linux-musl.tar.gz && \
tar xvf mdbook.tar.gz && \
./mdbook build
FROM ghcr.io/static-web-server/static-web-server:2.32
COPY --from=build /build/book /public