Revert "Install adrema-form dependencies in docker"
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details

This reverts commit eee0c64106.
This commit is contained in:
philipp lang 2024-07-21 16:09:41 +02:00
parent 0972ad65a7
commit 0d76b3cc5f
2 changed files with 2 additions and 4 deletions

View File

@ -8,8 +8,7 @@ RUN php artisan horizon:publish
FROM node:20.15.0-slim as node
WORKDIR /app
COPY . /app
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
RUN npm install && npm run prod && npm run img && rm -R node_modules
FROM nginx:1.21.6-alpine as nginx
WORKDIR /app

View File

@ -6,8 +6,7 @@ RUN composer install --ignore-platform-reqs --no-dev
FROM node:20.15.0-slim as node
WORKDIR /app
COPY . /app
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
RUN npm install && npm run prod && npm run img && rm -R node_modules
FROM zoomyboy/adrema-base:latest as php
COPY --chown=www-data:www-data . /app