mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-24 03:05:12 -05:00
fix docker dev build
This commit is contained in:
@@ -12,10 +12,14 @@ RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-
|
||||
poetry config virtualenvs.create false
|
||||
|
||||
# Copy poetry.lock* in case it doesn't exist in the repo
|
||||
COPY ./pyproject.toml ./poetry.lock* /app/
|
||||
COPY ./pyproject.toml /app/
|
||||
|
||||
RUN poetry install
|
||||
# RUN poetry install
|
||||
|
||||
COPY ./mealie /app/mealie
|
||||
|
||||
CMD ["uvicorn", "mealie.app:app", "--host", "0.0.0.0", "--port", "9000", "--reload"]
|
||||
RUN poetry install
|
||||
|
||||
RUN ["poetry", "run", "python", "mealie/db/init_db.py"]
|
||||
RUN ["poetry", "run", "python", "mealie/services/image/minify.py"]
|
||||
CMD ["poetry", "run", "python", "mealie/app.py"]
|
||||
Reference in New Issue
Block a user