Some checks failed
Build and Push Docker Image / build (push) Failing after 55s
9 lines
210 B
Docker
9 lines
210 B
Docker
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;"] |