Add Docker setup for Coolify

This commit is contained in:
2026-04-30 20:20:19 +02:00
parent 5ad478db3c
commit 6ced626af8
2 changed files with 19 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM php:8.2-apache
# Instal·lar extensions necessàries
RUN docker-php-ext-install mysqli pdo pdo_mysql
# Activar mod_rewrite
RUN a2enmod rewrite
# Copiar projecte
COPY . /var/www/html/
# Permisos
RUN chown -R www-data:www-data /var/www/html