Add Docker and LXC deployment support

This commit is contained in:
human insan
2026-08-27 22:33:05 +01:00
parent 6c521e5513
commit 451711b217
5 changed files with 80 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.13-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY server.py index.html README.md ./
ENV C41_SOURCE=/data/source \
C41_OUTPUT=/data/encoded \
C41_HOST=0.0.0.0 \
C41_PORT=8765
EXPOSE 8765
VOLUME ["/data/source", "/data/encoded"]
CMD ["python3", "server.py"]