feat: update Docker configuration and add deployment documentation for Coolify

This commit is contained in:
hamed
2026-06-27 21:27:58 +03:30
parent 29badf8d68
commit e966e11807
8 changed files with 233 additions and 21 deletions
+2 -1
View File
@@ -15,7 +15,7 @@ RUN composer install \
# ============================================================
# Stage 2 — Frontend assets (Webpack Encore / React 19)
# ============================================================
FROM node:20-alpine AS assets
FROM node:22-alpine AS assets
WORKDIR /app
# vendor is required: package.json references "@symfony/ux-react": "file:vendor/symfony/ux-react/assets"
COPY --from=vendor /app/vendor ./vendor
@@ -50,6 +50,7 @@ COPY --from=assets /app/public/build ./public/build
# Container configuration.
COPY docker/php/php.ini /usr/local/etc/php/conf.d/zz-app.ini
COPY docker/php/zz-pool.conf /usr/local/etc/php-fpm.d/zz-pool.conf
COPY docker/nginx/default.conf /etc/nginx/http.d/default.conf
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh