aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile20
1 files changed, 18 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 49de25f..985f527 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,22 @@
1FROM python:3.6.0 1FROM python:3.6.0 as builder
2 2
3LABEL maintainer=clarkzjw<[email protected]>
3 4
5RUN pip install virtualenv
4 6
5FROM nginx 7COPY requirements.txt /app/requirements.txt
6 8
9COPY bootstrap.py /app/bootstrap.py
10
11RUN /app/bootstrap.py
12
13ADD . /app
14
15WORKDIR /app
16
17RUN /bin/bash -c "source /app/.venv/bin/activate && make html"
18
19
20FROM nginx:alpine
21
22COPY --from=builder /app/_build/html /usr/share/nginx/html
Powered by cgit v1.2.3 (git 2.41.0)