LONGYKING
commited on
Commit
·
5ff2d29
1
Parent(s):
6d17cea
switched deployment port
Browse files- Dockerfile +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
|
| 32 |
|
| 33 |
# Run chainlit when the container launches
|
| 34 |
-
CMD ["python", "-m", "chainlit", "run", "chatxbt-assistant.py", "
|
|
|
|
| 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 |
-
- "
|
| 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:
|