fix
All checks were successful
build-and-deploy / build (push) Successful in 15s
build-and-deploy / deploy (push) Successful in 6s

This commit is contained in:
2025-09-26 20:31:10 -06:00
parent 984279e756
commit d125c03556

View File

@@ -1,18 +1,18 @@
FROM node:20-alpine AS frontend
WORKDIR /frontend
COPY ../frontend/package*.json ./
COPY frontend/package*.json ./
RUN npm ci || npm i
COPY ../frontend/ .
COPY frontend/ .
RUN npm run build
FROM node:20-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY package*.json ./
COPY node-api/package*.json ./
RUN npm ci --only=production || npm i --only=production
COPY . .
COPY node-api/. .
# Overwrite static with built SPA
COPY --from=frontend /frontend/dist /app/public