add leaf to docker-compose

This commit is contained in:
2026-03-28 20:44:08 +04:00
parent dafacf2f23
commit 470bc59ffd
2 changed files with 18 additions and 0 deletions

9
leaf.Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.8-slim
EXPOSE 5005
WORKDIR /app
RUN pip install --no-cache-dir websockets
COPY leaf.py /app/
STOPSIGNAL SIGINT
ENTRYPOINT ["python", "-u", "leaf.py"]