FROM python:3.10.9 COPY . . WORKDIR / RUN cat /requirements.txt RUN pip install --no-cache-dir --upgrade -r /requirements.txt # Expose the secret SECRET_EXAMPLE at buildtime and use its value as a Bearer token for a curl request ENV API_KEY=${API_KEY} CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]