fix: remove redundant build step in Dockerfile
This commit is contained in:
@@ -28,12 +28,9 @@ RUN set -a \
|
||||
&& . .env \
|
||||
&& . .env.production \
|
||||
&& set +a \
|
||||
&& node check-env.js \
|
||||
&& pnpm build
|
||||
|
||||
RUN node check-env.js
|
||||
|
||||
RUN pnpm build
|
||||
|
||||
|
||||
# --- Stage 2: Runtime ---
|
||||
FROM node:20-alpine
|
||||
|
||||
Reference in New Issue
Block a user