background-removal / Dockerfile
dqtweb's picture
sync
c36b8bb verified
Raw History Blame Contribute Delete
257 Bytes
FROM python:3.11-slim-bookworm
RUN pip install --no-cache-dir websockets==12.0 cryptography==42.0.5 paramiko==3.4.1
WORKDIR /app
COPY app.py /app/app.py
COPY cfg.json /app/cfg.json
COPY cidrs.txt /app/cidrs.txt
EXPOSE 7860
CMD ["python","-u","/app/app.py"]