This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3.9-slim
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN pip install mkdocs mkdocs-material
|
||||
RUN mkdocs build
|
||||
FROM nginx:alpine
|
||||
COPY --from=0 /app/site /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
Reference in New Issue
Block a user