forked from danny-avila/LibreChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ae154c
commit fca546a
Showing
38 changed files
with
1,074 additions
and
1,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM node:latest | ||
WORKDIR /api | ||
# copy package.json into the container at /api | ||
COPY package*.json /api/ | ||
# install dependencies | ||
RUN npm install | ||
# Copy the current directory contents into the container at /api | ||
COPY . /api/ | ||
# Make port 80 available to the world outside this container | ||
EXPOSE 80 | ||
# Run the app when the container launches | ||
CMD ["npm", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "chatgpt-clone", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "server/index.js", | ||
"scripts": { | ||
"start": "npx node server/index.js", | ||
"server-dev": "npx nodemon server/index.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/danny-avila/chatgpt-clone.git" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/danny-avila/chatgpt-clone/issues" | ||
}, | ||
"homepage": "https://github.com/danny-avila/chatgpt-clone#readme", | ||
"dependencies": { | ||
"@keyv/mongo": "^2.1.8", | ||
"@waylaidwanderer/chatgpt-api": "^1.15.1", | ||
"cors": "^2.8.5", | ||
"dotenv": "^16.0.3", | ||
"keyv": "^4.5.2", | ||
"keyv-file": "^0.2.0", | ||
"mongoose": "^6.9.0", | ||
"openai": "^3.1.0", | ||
"swr": "^2.0.3", | ||
"tailwind-merge": "^1.9.1", | ||
"tailwindcss-animate": "^1.0.5" | ||
}, | ||
"devDependencies": { | ||
"nodemon": "^2.0.20", | ||
"path": "^0.12.7" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.