Commit 3ddf3311 authored by nanahira's avatar nanahira

fix twint api docker

parent c30c0ab4
Pipeline #22257 passed with stages
in 2 minutes and 45 seconds
FROM python:3.10-slim-bullseye
FROM python:3.10-slim-bookworm
RUN apt update && apt -y install git build-essential && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* /var/log/* /var/cache/apt/archives/*
......
......@@ -8,4 +8,4 @@ if [ -z "$PORT" ]; then
PORT=80
fi
gunicorn app:app -w 2 --threads 2 -b $HOST:$PORT
gunicorn app:app -w $(nproc) --threads 3 -b $HOST:$PORT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment