Prepare docker workflow

This commit is contained in:
kbe
2025-08-19 19:10:43 +02:00
parent ef6876a0d3
commit 40e9660d80
13 changed files with 173 additions and 83 deletions

29
docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
networks:
web:
external: true
services:
nginx:
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./public:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
environment:
- NGINX_HOST=localhost
- NGINX_PORT=80
networks:
- web
builder:
build:
context: .
dockerfile: Dockerfile
entrypoint: /bin/sh
volumes:
- .:/app
networks:
- web
# command: ls -l