ankush-003 commited on
Commit
13802b3
·
verified ·
1 Parent(s): bada07a

Update .Dockerfile

Browse files
Files changed (1) hide show
  1. .Dockerfile +2 -6
.Dockerfile CHANGED
@@ -21,16 +21,12 @@ COPY requirements.txt /app/requirements.txt
21
 
22
  # Install dependencies in virtual environment
23
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
 
24
 
25
  # Copy the rest of the application
26
  COPY . .
27
 
28
- ENV PYTHONPATH=/app
29
- ENV PYTHONUNBUFFERED=1
30
-
31
  # Expose the default Chainlit port
32
- EXPOSE 8000
33
 
34
- # Command to run the application
35
- # CMD . /opt/venv/bin/activate && exec chainlit run app.py --port 8000
36
  CMD ["chainlit", "run", "app.py", "--port", "7860"]
 
21
 
22
  # Install dependencies in virtual environment
23
  RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
24
+ RUN pip install -qU chainlit
25
 
26
  # Copy the rest of the application
27
  COPY . .
28
 
 
 
 
29
  # Expose the default Chainlit port
30
+ EXPOSE 7860
31
 
 
 
32
  CMD ["chainlit", "run", "app.py", "--port", "7860"]