CTF_Site/Dockerfile

15 lines
227 B
Docker
Raw Normal View History

2019-06-13 18:06:08 +02:00
FROM python:3.7 as build
2019-06-13 16:01:22 +02:00
RUN pip install pipenv
WORKDIR /app
COPY . /app
2019-06-13 18:06:08 +02:00
RUN pipenv install --system --deploy --ignore-pipfile
RUN mkdocs build
FROM nginx:alpine
COPY --from=build /app/site /usr/share/nginx/html
EXPOSE 80