add secrets; add action to build and deploy
Build and Deploy Docker / build (push) Failing after 24s
Build and Deploy Docker / deploy (push) Has been skipped

This commit is contained in:
2026-07-09 12:30:21 +02:00
parent 8b3f3e4608
commit 62cad948b7
11 changed files with 85 additions and 17 deletions
+6 -14
View File
@@ -17,10 +17,6 @@ RUN apt-get update && apt-get -y install curl
COPY --from=composer /usr/bin/composer /usr/bin/composer
RUN mkdir -p /var/www/.composer
RUN chown www-data /var/www/.composer
RUN apt-get install -y \
libzip-dev \
zip \
@@ -52,17 +48,13 @@ COPY services/config/entrypoint.sh /etc/entrypoint.sh
RUN chmod +x /etc/entrypoint.sh
COPY --chown=www-data:www-data ./project /var/www/html
#COPY --chown=www-data:www-data ./index.php /var/www/html
#WORKDIR /var/www/html/src/composer
#RUN composer install --ignore-platform-reqs --no-scripts
#COPY --from=minimalise --chown=www-data /var/www/html/src/scripts_generated /var/www/html/src/scripts_generated
WORKDIR /var/www/html
#RUN composer install
#RUN npm install
#RUN npm run build
#RUN apt-get purge --auto-remove -y npm
RUN mv .env.prod .env
RUN composer install --ignore-platform-reqs --no-scripts
RUN npm install
RUN npm run build
RUN apt-get purge --auto-remove -y npm
ENTRYPOINT ["/etc/entrypoint.sh"]