Jenkins + Minio + Prometheus + Grafana v1
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
FROM mcr.microsoft.com/playwright/python:v1.45.0-jammy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# copiamos e instalamos dependencias
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# copiamos el resto del código
|
||||
COPY . .
|
||||
|
||||
# gunicorn con 2 workers y 4 threads por worker
|
||||
# gunicorn -k gthread -w 2 --threads 4 -b 0.0.0.0:5000 central_api:app
|
||||
CMD ["gunicorn", "-k", "gthread", "-w", "2", "--threads", "4", "-b", "0.0.0.0:5000", "central_api:app"]
|
||||
Reference in New Issue
Block a user