Fix: use grunt offline to skip composer in frontend stage
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ WORKDIR /build
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --ignore-scripts
|
||||
COPY . .
|
||||
RUN npx grunt
|
||||
RUN npx grunt offline
|
||||
|
||||
# Stage 2: Install PHP dependencies
|
||||
FROM composer:2 AS composer
|
||||
|
||||
Reference in New Issue
Block a user