add dev dockerfile

This commit is contained in:
Constantin Simonis 2025-02-21 11:24:46 +01:00
parent ecbe3c2b5c
commit eb7868e77e
Signed by: csimonis
GPG Key ID: 758DD9C506603183
2 changed files with 15 additions and 0 deletions

3
Dockerfile.dev Normal file
View File

@ -0,0 +1,3 @@
FROM nginx:latest
CMD ["nginx", "-g", "daemon off;"]

12
compose.yml Normal file
View File

@ -0,0 +1,12 @@
services:
app:
container_name: simonis.lol
build:
context: .
dockerfile: Dockerfile.dev
restart: none
ports:
- '8080:80'
volumes:
- './src:/usr/share/nginx/html'