Create Dockerfile

This commit is contained in:
2025-12-27 22:52:34 +01:00
committed by GitHub
parent 27738706c3
commit ccc3ad26e3

17
jd-webgui/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM python:3.12-slim
WORKDIR /app
RUN pip install --no-cache-dir \
fastapi \
uvicorn \
myjdapi \
paramiko \
python-multipart
COPY app.py /app/app.py
COPY static /app/static
EXPOSE 8080
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]