CI: combine npm install+build in single RUN step
Deploy Dashboard / deploy (push) Failing after 2m42s
Deploy Dashboard / deploy (push) Failing after 2m42s
This commit is contained in:
@@ -2,9 +2,8 @@
|
|||||||
FROM node:20-alpine AS frontend
|
FROM node:20-alpine AS frontend
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY frontend/package.json frontend/package-lock.json* ./
|
COPY frontend/package.json frontend/package-lock.json* ./
|
||||||
RUN npm install --registry=https://registry.npmmirror.com
|
|
||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
RUN npm run build
|
RUN npm install --registry=https://registry.npmmirror.com && npm run build
|
||||||
|
|
||||||
# Stage 2: Python runtime
|
# Stage 2: Python runtime
|
||||||
FROM python:3.12-slim
|
FROM python:3.12-slim
|
||||||
|
|||||||
Reference in New Issue
Block a user