mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04: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 |     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: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user