Some checks failed
Build and Publish ipserv / build_and_publish (push) Failing after 40s
9 lines
No EOL
290 B
Docker
9 lines
No EOL
290 B
Docker
FROM python:3.12-slim
|
|
EXPOSE 80/tcp
|
|
WORKDIR /app
|
|
COPY requirements.txt /tmp
|
|
RUN pip install -r /tmp/requirements.txt
|
|
COPY cert/ /app/cert
|
|
COPY ipserv.py /app
|
|
|
|
CMD ["gunicorn", "-b", "0.0.0.0:80", "--forwarded-allow-ips", "*", "--worker-class", "uvicorn.workers.UvicornWorker", "ipserv:app"] |