Skip to content

Commit

Permalink
Merge pull request #822 from mhdawson/fix-nodejs-recipe
Browse files Browse the repository at this point in the history
fix: fix the port used by Node.js chatbot example
  • Loading branch information
Gregory-Pereira authored Nov 22, 2024
2 parents 7d7fde0 + ef6b12f commit 33c0a23
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 33c0a23

Please sign in to comment.