fix deployement script

This commit is contained in:
martin legrand
2025-04-17 12:05:23 +02:00
parent 3d1f42351f
commit 36b26b43c9
8 changed files with 80 additions and 26 deletions
+4 -1
View File
@@ -27,10 +27,13 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY api.py .
COPY sources/ ./sources/
COPY prompts/ ./prompts/
COPY crx/ crx/
COPY llm_router/ llm_router/
COPY .env .
COPY config.ini .
# Expose port
EXPOSE 8000
# Run the application
CMD ["uvicorn", "api:api", "--host", "0.0.0.0", "--port", "8000"]
CMD ["python3", "api.py"]