Saint Pipeline, please give me the green light (#7)

Reviewed-on: rrise/reloading-manager#7
Co-authored-by: Ron Rise <ron@siteworxpro.com>
Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit is contained in:
2025-04-16 15:58:43 -04:00
committed by Siteworx Pro Gitea
parent 1a3a5f31ba
commit 2ffa8d3d4e
2 changed files with 7 additions and 6 deletions

View File

@@ -1,12 +1,10 @@
FROM node:22.14.0 AS BUILD
FROM node:22.14.0 AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install && \
npm run build
COPY . .
RUN npm install && npm run build
FROM caddy
COPY --from=BUILD /app/dist /usr/share/caddy
COPY --from=build /app/dist /usr/share/caddy