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