Skip to content

Commit 6cde6bb

Browse files
committed
WIP
- Dockerfile config for deployment
1 parent 5e6010a commit 6cde6bb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Imagen base con PHP y Apache
2+
FROM php:8.2-apache
3+
4+
# Instalar extensiones necesarias
5+
RUN docker-php-ext-install pdo pdo_mysql mbstring
6+
7+
# Copiar archivos de Kirby
8+
COPY . /var/www/html/
9+
10+
# Configurar permisos
11+
RUN chown -R www-data:www-data /var/www/html
12+
13+
# Exponer el puerto de Apache
14+
EXPOSE 80
15+
16+
# Ejecutar Apache en primer plano
17+
CMD ["apache2-foreground"]

0 commit comments

Comments
 (0)