mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
fix docker dev build
This commit is contained in:
parent
f1c3857f39
commit
ab81061cba
@ -12,10 +12,14 @@ RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-
|
|||||||
poetry config virtualenvs.create false
|
poetry config virtualenvs.create false
|
||||||
|
|
||||||
# Copy poetry.lock* in case it doesn't exist in the repo
|
# 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
|
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"]
|
@ -30,7 +30,7 @@ services:
|
|||||||
TZ: America/Anchorage # Specify Correct Timezone for Date/Time to line up correctly.
|
TZ: America/Anchorage # Specify Correct Timezone for Date/Time to line up correctly.
|
||||||
volumes:
|
volumes:
|
||||||
- ./app_data:/app_data
|
- ./app_data:/app_data
|
||||||
- ./mealie:/app
|
- ./mealie:/app/mealie
|
||||||
|
|
||||||
# Mkdocs
|
# Mkdocs
|
||||||
mealie-docs:
|
mealie-docs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user