mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-02-23 10:27:23 -08:00
20 lines
436 B
Docker
20 lines
436 B
Docker
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
|
|
|
|
# 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" ] |