mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-01-24 17:52:56 -05:00
Merge branch 'dev' of https://github.com/hay-kot/mealie into issue-55
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node:alpine as build-stage
|
||||
FROM node:lts-alpine as build-stage
|
||||
WORKDIR /app
|
||||
COPY ./frontend/package*.json ./
|
||||
RUN npm install
|
||||
@@ -18,7 +18,12 @@ WORKDIR /app
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY ./mealie /app
|
||||
COPY ./mealie/data/templates/recipes.md /app/data/templates/
|
||||
COPY ./mealie/data/templates/recipes.md /app/data/templates/recipes.md
|
||||
COPY --from=build-stage /app/dist /app/dist
|
||||
RUN rm -rf /app/test /app/temp
|
||||
|
||||
ENV ENV prod
|
||||
|
||||
VOLUME [ "/app/data" ]
|
||||
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
Reference in New Issue
Block a user