|
|
@ -1,8 +1,9 @@
|
|
|
|
FROM registry.willaspace.com/willaspace/willaengine-staging:latest AS php_builder
|
|
|
|
FROM registry.willaspace.com/willaspace/willaengine-staging:latest AS php_builder
|
|
|
|
|
|
|
|
|
|
|
|
FROM node:16.7.0-alpine AS builder
|
|
|
|
FROM node:16.7.0-alpine AS builder
|
|
|
|
COPY --from=php_builder /var/www /app
|
|
|
|
COPY --from=php_builder /var/www/ /app/
|
|
|
|
WORKDIR /app
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
RUN npm run staging
|
|
|
|
RUN npm run staging
|
|
|
|
|
|
|
|
|
|
|
|
FROM nginx:1.21.1
|
|
|
|
FROM nginx:1.21.1
|
|
|
|