mealie/Dockerfile.dev
Richard Mitic 96b9f74f84 Normalize recipe instructions, yield, and image url
Including tests and example recipe data.
2021-01-05 22:19:32 +01:00

21 lines
No EOL
456 B
Text

FROM python:3
RUN apt-get update -y && \
apt-get install -y python-pip python-dev
# We copy just the requirements.txt first to leverage Docker cache
COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
RUN pip install pytest
COPY ./mealie /app
ENTRYPOINT [ "python" ]
# TODO Reconfigure Command to start a Gunicorn Server that managed the Uvicorn Server. Also Learn how to do that :-/
CMD [ "app.py" ]