You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

18 lines
246 B

FROM python:3.7 as build
RUN pip install pipenv
WORKDIR /app
COPY Pipf* /app/
RUN pipenv install --system --deploy --ignore-pipfile
COPY . /app
RUN mkdocs build
FROM nginx:alpine
COPY --from=build /app/site /usr/share/nginx/html
EXPOSE 80