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"]