15 lines
227 B
Docker
15 lines
227 B
Docker
FROM python:3.7 as build
|
|
|
|
|
|
RUN pip install pipenv
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
RUN pipenv install --system --deploy --ignore-pipfile
|
|
|
|
RUN mkdocs build
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=build /app/site /usr/share/nginx/html
|
|
EXPOSE 80 |