This repository has been archived on 2024-06-12. You can view files and clone it, but cannot push or open issues or pull requests.
ipserv/Dockerfile

9 lines
290 B
Docker
Raw Normal View History

2024-04-28 00:09:49 +01:00
FROM python:3.12-slim
EXPOSE 80/tcp
2024-04-17 16:27:58 +01:00
WORKDIR /app
2024-04-28 00:09:49 +01:00
COPY requirements.txt /tmp
RUN pip install -r /tmp/requirements.txt
2024-04-22 01:54:12 +01:00
COPY cert/ /app/cert
2024-04-28 00:09:49 +01:00
COPY ipserv.py /app
2024-04-20 02:38:42 +01:00
CMD ["gunicorn", "-b", "0.0.0.0:80", "--forwarded-allow-ips", "*", "--worker-class", "uvicorn.workers.UvicornWorker", "ipserv:app"]