Mount Vue Frontend only in production

This commit is contained in:
Kevin Grossmann 2021-01-05 14:14:55 +01:00
commit 75bef08c7c
2 changed files with 7 additions and 2 deletions

View file

@ -21,4 +21,6 @@ COPY ./mealie /app
COPY ./mealie/data/templates/recipes.md /app/data/templates/
COPY --from=build-stage /app/dist /app/dist
ENV ENV prod
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "9000"]