From a4478259aabbee6938bb5b0e7fa38be450b3487c Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Wed, 6 Apr 2022 17:01:09 +0800 Subject: [PATCH] =?UTF-8?q?package=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7f377d3c..fc5c406f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM node:14-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat WORKDIR /app -COPY package.json yarn.lock ./ +COPY package.json ./ RUN yarn install --frozen-lockfile # Rebuild the source code only when needed @@ -24,4 +24,4 @@ EXPOSE 3000 # Uncomment the following line in case you want to disable telemetry. # ENV NEXT_TELEMETRY_DISABLED 1 -CMD ["yarn", "start"] \ No newline at end of file +CMD ["yarn", "start"]