e34079673c
* update docs * use auto-gen routes * dumb deps * remove whitespace * github action to build dev docs container * no cache Co-authored-by: hay-kot <hay-kot@pm.me>
10 lines
No EOL
237 B
Docker
10 lines
No EOL
237 B
Docker
FROM python:3.8-slim as build-stage
|
|
WORKDIR /app
|
|
RUN pip install --no-cache-dir mkdocs mkdocs-material
|
|
COPY . .
|
|
RUN mkdocs build
|
|
|
|
FROM caddy:alpine
|
|
WORKDIR /app
|
|
COPY ./Caddyfile /etc/caddy/Caddyfile
|
|
COPY --from=build-stage /app/site /srv |