Dockerfile 354 Bytes
Newer Older
1 2 3 4 5 6 7 8
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
9 10
ENV PYTHONPATH=/usr/local/mason-today/
ENV FLASK_APP=/usr/local/masont-today/__init__.py
11 12
ENV FLASK_DEBUG=0
CMD [ "flask", "run" ]