Add docker folder

This commit is contained in:
Santiago Lo Coco 2024-10-30 21:59:41 +01:00
parent 4b5cad11f0
commit c2265be49c
2 changed files with 17 additions and 0 deletions

9
docker/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM python:3.11-slim
WORKDIR /app
COPY . .
EXPOSE 5353
CMD ["python", "broadcast.py"]

View File

@ -0,0 +1,8 @@
services:
udp-multicast:
build:
context: ../src
dockerfile: ../docker/Dockerfile
ports:
- 5353:5353
network_mode: "host"