initial
This commit is contained in:
14
code/Dockerfile
Normal file
14
code/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM alpine:3.5
|
||||
RUN apk add --update \
|
||||
python3 \
|
||||
python3-dev \
|
||||
py3-pip \
|
||||
build-base
|
||||
COPY requirements.txt /requirements.txt
|
||||
RUN pip3 install -r /requirements.txt
|
||||
COPY static /code/static
|
||||
COPY templates /code/templates
|
||||
COPY revprox.py /code/revprox.py
|
||||
COPY app.py /code/app.py
|
||||
WORKDIR /code
|
||||
CMD gunicorn -b 0.0.0.0:80 --timeout 3600 -w 6 app:app
|
||||
Reference in New Issue
Block a user