Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deployment issues #46

Merged
merged 3 commits into from
May 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY . .

EXPOSE 80

CMD ["yarn", "start:prod"]
CMD ["yarn", "start"]
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "chat-gpt-bot",
"version": "1.0.3",
"main": "index.js",
"repository": "git@github.com:mikita-kandratsyeu/chat-gpt-bot.git",
"author": "Mikita Kandratsyeu <nickondr.production@gmail.com>",
"license": "Apache-2.0",
"scripts": {
"build:prod": "tsc && tsc-alias -p tsconfig.build.json && copyfiles -u 1 -e \"**/*.ts\" \"./src/locales/**/*.ftl\" \"./build\" --flatten",
"start:prod": "yarn run build:prod && cross-env NODE_ENV=production node build/index.js",
"start": "yarn run build:prod && cross-env NODE_ENV=production node build/index.js",
"start:dev": "nodemon --watch 'src/**/*.ts' --exec ts-node -r tsconfig-paths/register src/index.ts",
"lint": "eslint . --ext .ts --ignore-pattern node_modules/",
"lint:fix": "eslint . --ext .ts --ignore-pattern node_modules/ --fix",
Expand Down