diff --git a/Dockerfile b/Dockerfile index 37511b8..fbc3e8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . . EXPOSE 80 -CMD ["yarn", "start:prod"] +CMD ["yarn", "start"] diff --git a/package.json b/package.json index f37c0ad..363d1c1 100644 --- a/package.json +++ b/package.json @@ -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 ", "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",