Dockerfile.template 227 Bytes
Newer Older
J. Fernando Sánchez's avatar
J. Fernando Sánchez committed
1
from python:{{PYVERSION}}
2

3
4
5
6
WORKDIR /usr/src/app
ADD requirements.txt /usr/src/app/
RUN pip install -r requirements.txt
ADD . /usr/src/app/
7
8
RUN pip install .

9
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]