feat: Dockerfile and docker-compose

This commit is contained in:
Floriansylvain
2025-12-16 22:46:20 +01:00
parent b0c475e0f8
commit ea8261a0a6
2 changed files with 15 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM php:8.5-alpine
WORKDIR /var/www/html
RUN apk add --no-cache bash
EXPOSE 80
CMD ["php", "-S", "0.0.0.0:80", "-t", "/var/www/html"]
+7
View File
@@ -0,0 +1,7 @@
services:
app:
build: .
ports:
- "8080:80"
volumes:
- .:/var/www/html