pgurazada1's picture
Update Dockerfile
0d14c3a verified
raw
history blame contribute delete
281 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "4", "--threads", "2", "app:dataframe_agent_api"]