-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #39 from spongedsc/bun"
- Loading branch information
1 parent
1239864
commit e663a86
Showing
6 changed files
with
1,146 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,2 @@ | ||
node_modules | ||
Dockerfile* | ||
docker-compose* | ||
.dockerignore | ||
.git | ||
.gitignore | ||
README.md | ||
.vscode | ||
.env | ||
.editorconfig | ||
temp | ||
node_modules |
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
FROM oven/bun:alpine | ||
FROM node:lts-alpine | ||
ENV NODE_ENV=production | ||
|
||
RUN npm install -g pnpm | ||
|
||
WORKDIR /app | ||
|
||
COPY ["package.json", "bun.lockb", "./"] | ||
COPY ["package.json", "pnpm-lock.yaml", "./"] | ||
|
||
RUN bun install --frozen-lockfile --production | ||
RUN pnpm install --prod | ||
|
||
COPY . . | ||
|
||
USER bun | ||
CMD ["bun", "run", "index.js"] | ||
CMD ["node", "index.js"] |
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 |
---|---|---|
@@ -1,22 +1,27 @@ | ||
{ | ||
"name": "spongegpt", | ||
"version": "1.29.0", | ||
"version": "1.28.4", | ||
"description": "custom AI chatbot for discord", | ||
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"start": "bun index.js", | ||
"dev": "bun --watch index.js " | ||
"start": "node index.js", | ||
"dev": "nodemon index.js" | ||
}, | ||
"author": "artifish", | ||
"license": "AGPL-3.0", | ||
"dependencies": { | ||
"@discordjs/voice": "^0.16.1", | ||
"axios": "^1.6.8", | ||
"discord.js": "^14.13.0", | ||
"dotenv": "^16.3.1", | ||
"ffmpeg-static": "^5.2.0", | ||
"libsodium-wrappers": "^0.7.13", | ||
"luxon": "^3.4.4", | ||
"msedge-tts": "^1.3.4", | ||
"socket.io-client": "^4.7.2" | ||
}, | ||
"devDependencies": { | ||
"nodemon": "^3.1.0" | ||
} | ||
} |
Oops, something went wrong.