diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..8e41b9d --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.11-slim + +WORKDIR /app + +COPY . . + +EXPOSE 5353 + +CMD ["python", "broadcast.py"] diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..32fb66c --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,8 @@ +services: + udp-multicast: + build: + context: ../src + dockerfile: ../docker/Dockerfile + ports: + - 5353:5353 + network_mode: "host"