Skip to content

Commit a447825

Browse files
committed
package相关
1 parent 27a8e05 commit a447825

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM node:14-alpine AS deps
44
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
55
RUN apk add --no-cache libc6-compat
66
WORKDIR /app
7-
COPY package.json yarn.lock ./
7+
COPY package.json ./
88
RUN yarn install --frozen-lockfile
99

1010
# Rebuild the source code only when needed
@@ -24,4 +24,4 @@ EXPOSE 3000
2424
# Uncomment the following line in case you want to disable telemetry.
2525
# ENV NEXT_TELEMETRY_DISABLED 1
2626

27-
CMD ["yarn", "start"]
27+
CMD ["yarn", "start"]

0 commit comments

Comments
 (0)