From 0d76b3cc5fda3bc6d98b61857bbc55b540901fad Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 21 Jul 2024 16:09:41 +0200 Subject: [PATCH] Revert "Install adrema-form dependencies in docker" This reverts commit eee0c64106a64d05e33affd8ec385c60c1c5eac0. --- .docker/nginx.Dockerfile | 3 +-- .docker/php.Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.docker/nginx.Dockerfile b/.docker/nginx.Dockerfile index 69495efe..7a44689a 100644 --- a/.docker/nginx.Dockerfile +++ b/.docker/nginx.Dockerfile @@ -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 diff --git a/.docker/php.Dockerfile b/.docker/php.Dockerfile index 7ddcdb01..b58c3e5a 100644 --- a/.docker/php.Dockerfile +++ b/.docker/php.Dockerfile @@ -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