From d125c03556afd51f1535c0ff222adc6b625cb8c1 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Fri, 26 Sep 2025 20:31:10 -0600 Subject: [PATCH] fix --- node-api/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/node-api/Dockerfile b/node-api/Dockerfile index e1571ee..cfb5943 100644 --- a/node-api/Dockerfile +++ b/node-api/Dockerfile @@ -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