From c612badd6835478b81544d556f90075c617ad2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Wed, 22 Oct 2025 22:36:31 +0300 Subject: [PATCH] fix dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 856d656..b66efdb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ WORKDIR /app RUN apk add --no-cache libc6-compat COPY package-lock.json ./ +COPY package.json ./ RUN npm ci COPY . . @@ -16,7 +17,8 @@ ENV NODE_ENV=production COPY --from=builder /app/.next ./.next COPY --from=builder /app/public ./public COPY --from=builder /app/node_modules ./node_modules -COPY --from=builder /app/package*.json ./ +COPY --from=builder /app/package-lock.json ./ +COPY --from=builder /app/package.json ./ EXPOSE 3000 CMD ["npm", "run", "start"] \ No newline at end of file