blog/Dockerfile
Evan Reichard 16346b33ac
Some checks failed
continuous-integration/drone/push Build is failing
Update Drone
2023-04-25 20:10:37 -04:00

13 lines
252 B
Docker

# Build Image
FROM squidfunk/mkdocs-material:latest as build
# Build MkDocs
COPY . /app
WORKDIR /app
RUN pip install -U -r ./requirements.txt
RUN mkdocs build
# Main Image - Copy Resources
FROM nginx
COPY --from=build /app/site /usr/share/nginx/html