wiki/Dockerfile
Renovate bot c5452679a7
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
Update ghcr.io/static-web-server/static-web-server Docker tag to v2.31
2024-05-19 21:17:51 +00: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.31
COPY --from=build /build/book /public