diff --git a/Dockerfile b/Dockerfile index d558a5d..1764fc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app # Install all deps for build COPY package*.json ./ -RUN npm ci && npm cache clean --force +RUN npm install && npm cache clean --force # Build frontend COPY . . @@ -22,7 +22,7 @@ RUN apk add --no-cache curl # Copy package.json and production dependencies COPY package*.json ./ -RUN npm ci --only=production && npm cache clean --force +RUN npm install --omit=dev && npm cache clean --force # Copy server files and built frontend COPY server ./server