fix docker dev build
This commit is contained in:
parent
f1c3857f39
commit
ab81061cba
2 changed files with 8 additions and 4 deletions
|
@ -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"]
|
|
@ -30,7 +30,7 @@ services:
|
|||
TZ: America/Anchorage # Specify Correct Timezone for Date/Time to line up correctly.
|
||||
volumes:
|
||||
- ./app_data:/app_data
|
||||
- ./mealie:/app
|
||||
- ./mealie:/app/mealie
|
||||
|
||||
# Mkdocs
|
||||
mealie-docs:
|
||||
|
|
Loading…
Reference in a new issue