mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-02 08:34:17 -05:00
* Remove slim * bug: opacity issues * bug: startup failure with no database * ci/cd on dev branch * formatting * v0.1.0 documentation Co-authored-by: Hayden <hay-kot@pm.me>
23 lines
495 B
Docker
23 lines
495 B
Docker
FROM python:3
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install -y python-pip python-dev
|
|
|
|
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
|
|
cd /usr/local/bin && \
|
|
ln -s /opt/poetry/bin/poetry && \
|
|
poetry config virtualenvs.create false
|
|
|
|
RUN mkdir /app/
|
|
COPY ./pyproject.toml ./app/poetry.lock* /app/
|
|
|
|
WORKDIR /app
|
|
|
|
RUN poetry install --no-root
|
|
|
|
COPY ./mealie /app
|
|
|
|
|
|
ENTRYPOINT [ "python" ]
|
|
|
|
CMD [ "app.py" ] |