Dockerfile 341 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
FROM python:3

COPY mason-today /usr/local/mason-today
COPY requirements.txt /usr/local/mason-today/requirements.txt

RUN pip install --no-cache-dir -r /usr/local/mason-today/requirements.txt

WORKDIR /usr/local/mason-today
ENV PYTHONPATH=/usr/local/mason-today/__init__.py
ENV FLASK_APP=mason-today
ENV FLASK_DEBUG=0
CMD [ "flask", "run" ]