chore: server setup complete

This commit is contained in:
Danny Avila 2023-03-06 10:28:37 -05:00
parent fca546af63
commit affbaaf1a5
3 changed files with 7898 additions and 6 deletions

View file

@ -6,7 +6,7 @@ COPY package*.json /api/
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
# Make port 3080 available to the world outside this container
EXPOSE 3080
# Run the app when the container launches
CMD ["npm", "start"]

7893
api/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -20,16 +20,15 @@
"homepage": "https://github.com/danny-avila/chatgpt-clone#readme",
"dependencies": {
"@keyv/mongo": "^2.1.8",
"@vscode/vscode-languagedetection": "^1.0.22",
"@waylaidwanderer/chatgpt-api": "^1.15.1",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"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"
"openai": "^3.1.0"
},
"devDependencies": {
"nodemon": "^2.0.20",