arthuroe commited on
Commit
2148778
·
verified ·
1 Parent(s): 9e8ddda

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use Python 3.10 slim image as base
2
- FROM python:3.10-slim
3
 
4
  # Set working directory
5
  WORKDIR /app
@@ -30,11 +30,11 @@ COPY openrouter_llm.py .
30
  RUN mkdir -p uploads vectordb
31
 
32
  # Expose port
33
- EXPOSE 8000
34
 
35
  # Set healthcheck
36
  # HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
37
  # CMD curl -f http://localhost:8000/health || exit 1
38
 
39
  # Command to run the application
40
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
1
  # Use Python 3.10 slim image as base
2
+ FROM python:3.11-slim
3
 
4
  # Set working directory
5
  WORKDIR /app
 
30
  RUN mkdir -p uploads vectordb
31
 
32
  # Expose port
33
+ EXPOSE 7860
34
 
35
  # Set healthcheck
36
  # HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
37
  # CMD curl -f http://localhost:8000/health || exit 1
38
 
39
  # Command to run the application
40
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]