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

8 lines
287 B
Docker
Raw Normal View History

2024-04-17 16:27:58 +01:00
FROM python:3-slim
WORKDIR /app
COPY ipserv.py /app
2024-04-22 01:54:12 +01:00
COPY cert/ /app/cert
EXPOSE 80/tcp
2024-04-19 10:53:06 +01:00
RUN pip install fastapi requests gunicorn uvicorn[standard] aiohttp
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"]