nexy7574
5a7d8b5b62
All checks were successful
Build and Publish / build_and_publish (push) Successful in 59s
6 lines
256 B
Docker
6 lines
256 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
COPY requirements.txt /app
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY src/ /app
|
|
CMD ["gunicorn", "main:app", "-w", "4", "-k", "uvicorn_worker.UvicornWorker", "-b", "0.0.0.0:80", "--forwarded-allow-ips", "*"]
|