mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
update docker build command
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user