update docker build command

This commit is contained in:
DefectingCat
2023-12-26 11:30:29 +08:00
parent 114532067c
commit 6d4c761cd4

View File

@ -1,4 +1,3 @@
# FROM node:18-alpine AS base
FROM node:lts-alpine AS base
# Install dependencies only when needed
@ -29,7 +28,7 @@ COPY . .
# Uncomment the following line in case you want to disable telemetry during the build.
# ENV NEXT_TELEMETRY_DISABLED 1
RUN yarn build
RUN yarn build-local
# If using npm comment out above and use below instead
# RUN npm run build