LONGYKING commited on
Commit
5ff2d29
·
1 Parent(s): 6d17cea

switched deployment port

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. docker-compose.yml +1 -1
Dockerfile CHANGED
@@ -28,7 +28,7 @@ COPY --chown=user . .
28
  RUN pip install --no-cache-dir -r requirements.txt
29
 
30
  # Expose port 8080 to the world outside this container
31
- EXPOSE 8080
32
 
33
  # Run chainlit when the container launches
34
- CMD ["python", "-m", "chainlit", "run", "chatxbt-assistant.py", "--host", "0.0.0.0", "--port", "8080"]
 
28
  RUN pip install --no-cache-dir -r requirements.txt
29
 
30
  # Expose port 8080 to the world outside this container
31
+ EXPOSE 7860
32
 
33
  # Run chainlit when the container launches
34
+ CMD ["python", "-m", "chainlit", "run", "chatxbt-assistant.py", "-h", "--port", "7860"]
docker-compose.yml CHANGED
@@ -3,7 +3,7 @@ services:
3
  image: chatxbt-web3-ai-assistant
4
  build: .
5
  ports:
6
- - "8080:8080"
7
  env_file:
8
  - .env
9
  depends_on:
 
3
  image: chatxbt-web3-ai-assistant
4
  build: .
5
  ports:
6
+ - "7860:7860"
7
  env_file:
8
  - .env
9
  depends_on: