Skip to content

Commit

Permalink
fix: fix the port used by Node.js chatbot example
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Dawson <[email protected]>
  • Loading branch information
mhdawson committed Nov 22, 2024
1 parent 7d7fde0 commit ef6b12f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ application:
- amd64
ports:
- 8001
image: quay.io/ai-lab/llamacppp_python:latest
image: quay.io/ai-lab/llamacpp_python:latest
- name: nodejs-chat-app
contextdir: app
containerfile: Containerfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ COPY --from=builder --chown=1001:1001 /app/.next/static ./.next/static

USER 1001

EXPOSE 8051
EXPOSE 8501

ENV PORT 8051
ENV PORT 8501

CMD ["sh", "-c", "HOSTNAME=localhost node server"]
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@langchain/core": "^0.2.14"
},
"scripts": {
"dev": "next dev -p 8051",
"dev": "next dev -p 8501",
"build": "next build",
"lint": "next lint"
},
Expand Down

0 comments on commit ef6b12f

Please sign in to comment.