Install adrema-form dependencies in docker
This commit is contained in:
parent
e50269d031
commit
eee0c64106
|
@ -8,7 +8,8 @@ RUN php artisan horizon:publish
|
|||
FROM node:20.15.0-slim as node
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN npm install && npm run prod && npm run img && rm -R node_modules
|
||||
RUN cd packages/adrema-form && npm ci && npm run build && rm -R node_modules && cd ../../
|
||||
RUN npm ci && npm run prod && npm run img && rm -R node_modules
|
||||
|
||||
FROM nginx:1.21.6-alpine as nginx
|
||||
WORKDIR /app
|
||||
|
|
|
@ -6,7 +6,8 @@ RUN composer install --ignore-platform-reqs --no-dev
|
|||
FROM node:20.15.0-slim as node
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN npm install && npm run prod && npm run img && rm -R node_modules
|
||||
RUN cd packages/adrema-form && npm ci && npm run build && rm -R node_modules && cd ../../
|
||||
RUN npm ci && npm run prod && npm run img && rm -R node_modules
|
||||
|
||||
FROM zoomyboy/adrema-base:latest as php
|
||||
COPY --chown=www-data:www-data . /app
|
||||
|
|
Loading…
Reference in New Issue