diff --git a/backend/Dockerfile b/backend/Dockerfile index 088a3b9..05d5d26 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,8 +1,7 @@ # Build Stage FROM node:23-alpine AS build WORKDIR /app -COPY ./package.json /app/ -RUN pwd && ls -al +COPY ./package*.json ./ RUN npm install COPY . . # COPY .env .env.development ./ diff --git a/frontend/Dockerfile b/frontend/Dockerfile index bbf9a8d..d19cb91 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,8 +1,7 @@ # Build Stage FROM node:23-alpine AS build WORKDIR /app -COPY ./package.json /app/ -RUN ls -al +COPY ./package*.json ./ RUN npm install COPY . . RUN npm run build