package相关

This commit is contained in:
tangly1024
2022-04-06 17:01:09 +08:00
parent 27a8e05066
commit a4478259aa

View File

@@ -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"]
CMD ["yarn", "start"]