mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 14:05:21 +02:00
add nightly CI/CD
This commit is contained in:
parent
886d1b7a50
commit
ff2b681980
9 changed files with 146 additions and 35 deletions
18
Dockerfile
18
Dockerfile
|
@ -1,12 +1,12 @@
|
|||
###############################################
|
||||
# Frontend Builder Image
|
||||
###############################################
|
||||
FROM node:lts-alpine as frontend-build
|
||||
WORKDIR /app
|
||||
COPY ./frontend/package*.json ./
|
||||
RUN npm install
|
||||
COPY ./frontend/ .
|
||||
RUN npm run build
|
||||
# # Frontend Builder Image
|
||||
# ###############################################
|
||||
# FROM node:lts-alpine as frontend-build
|
||||
# WORKDIR /app
|
||||
# COPY ./frontend/package*.json ./
|
||||
# RUN npm install
|
||||
# COPY ./frontend/ .
|
||||
# RUN npm run build
|
||||
|
||||
###############################################
|
||||
# Base Image
|
||||
|
@ -125,7 +125,7 @@ RUN . $VENV_PATH/bin/activate && poetry install -E pgsql --no-dev
|
|||
WORKDIR /
|
||||
|
||||
# copy frontend
|
||||
COPY --from=frontend-build /app/dist $MEALIE_HOME/dist
|
||||
# COPY --from=frontend-build /app/dist $MEALIE_HOME/dist
|
||||
COPY ./dev/data/templates $MEALIE_HOME/data/templates
|
||||
COPY ./Caddyfile $MEALIE_HOME
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue