FROM python:3.8-bullseye COPY . /app/geodata RUN pip install --upgrade pip RUN pip install wheel RUN pip install -r /app/geodata/requirements.txt RUN pip install gunicorn uvicorn EXPOSE 8000 WORKDIR /app CMD [ \ "gunicorn", \ "--workers=2", \ "--worker-class=uvicorn.workers.UvicornWorker", \ "--bind=0.0.0.0:8000", \ "geodata.main:app" \ ]