Build images with PHP 8.5 and Vite

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
julielenaertsandClaude Opus 5.5 committed 2026-11-23 15:33:47 +01:00
1 parent 3926b26ae7
commit 2e4abca455
3 files changed
+5 -8

No files matched your search

+3 -3
View File
@@ -19,13 +19,13 @@ jobs:
password: ${{ secrets.OVH_REGISTRY_PASSWORD }}
- name: Install Dependencies and Build Assets
uses: docker://chill/base-image:8.4-edge
uses: docker://chill/base-image:8.5-edge
env:
APP_ENV: prod
with:
entrypoint: /bin/sh
# We install node/yarn inside the PHP container to ensure translations are available
args: -c "apk add --no-cache nodejs yarn && composer install --no-scripts --no-interaction && bin/console cache:clear && yarn install && yarn run encore production"
# We install node/npm inside the PHP container: the Vite build needs the translations dumped by cache:warmup
args: -c "apk add --no-cache nodejs npm && composer install --no-scripts --no-interaction && bin/console cache:warmup && npm ci && npm run build"
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
@@ -19,7 +19,7 @@ jobs:
with:
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
- name: run composer update to update composer.lock
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
uses: docker://chill/base-image:8.5-edge
with:
# this is where we set the command to execute
args: composer update --no-install
+1 -4
View File
@@ -1,4 +1,4 @@
FROM chill/base-image:8.4-edge
FROM chill/base-image:8.5-edge
# copy directories with ownership for the unprivileged runtime user
COPY --chown=www-data:www-data ./bin /var/www/app/bin/.
@@ -13,9 +13,6 @@ COPY --chown=www-data:www-data ./vendor /var/www/app/vendor/.
COPY --chown=www-data:www-data ./.env /var/www/app/.env
# import the manifest.json file
COPY --chown=www-data:www-data ./public/build/manifest.json /var/www/app/public/build/manifest.json
COPY ./entrypoint.sh /entrypoint.sh
# - mark entrypoint executable