An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor(Dockerfile): reintroduce service generation command in the build process for consistency and ensure proper asset compilation
Andras Bacsai5cc189b69a03
diff --git a/docker/production/Dockerfile b/docker/production/Dockerfileindex b7d571a8a7..ae93c6237d 100644--- a/docker/production/Dockerfile+++ b/docker/production/Dockerfile@@ -30,7 +30,6 @@ COPY --chown=www-data:www-data composer.json composer.lock ./RUN composer install --no-dev --no-interaction --no-plugins --no-scripts --prefer-distUSER www-data-RUN php artisan generate:services# =================================================================# Stage 2: Frontend assets compilation@@ -124,6 +123,8 @@ COPY --chown=www-data:www-data openapi.yaml ./openapi.yamlRUN composer dump-autoload+RUN php artisan generate:services+# Configure Nginx and S6 overlayCOPY docker/production/etc/nginx/conf.d/custom.conf /etc/nginx/conf.d/custom.confCOPY docker/production/etc/nginx/site-opts.d/http.conf /etc/nginx/site-opts.d/http.conf