feat: Create a Docker Image around the laravel app

This commit is contained in:
u00lipp
2025-10-21 18:37:25 +02:00
parent 0bbb4571bd
commit f978844e68
7 changed files with 287 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
version: "3.9"
services:
app:
image: tap:latest # or build: . if youre building locally
build:
context: .
dockerfile: Dockerfile
container_name: laravel_app
restart: unless-stopped
ports:
- "81:8080" # host:container
environment:
# --- Laravel Core ---
APP_NAME: "Laravel"
volumes:
# - SQLite database file
- ./database:/var/www/html/database