Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -6,4 +6,6 @@ COPY . .
|
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 8 |
|
|
|
|
|
|
|
| 9 |
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "4", "--threads", "2", "app:dataframe_agent_api"]
|
|
|
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 8 |
|
| 9 |
+
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true
|
| 10 |
+
|
| 11 |
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "4", "--threads", "2", "app:dataframe_agent_api"]
|