update
This commit is contained in:
parent
8f6d1de2c5
commit
af5c7ff982
@ -11,8 +11,6 @@ ENV STORAGE=/app/storage
|
|||||||
|
|
||||||
COPY --from=stage0 /app /app
|
COPY --from=stage0 /app /app
|
||||||
|
|
||||||
RUN yarn global add cross-env
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD yarn start
|
CMD node dist/index.js
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"start": "cross-env NODE_ENV=production node dist/index.js",
|
"start": "cross-env NODE_ENV=production node dist/index.js",
|
||||||
"start:dev": "cross-env NODE_ENV=development node dist/index.js",
|
"start:dev": "cross-env NODE_ENV=development node dist/index.js",
|
||||||
"start:debug": "cross-env NODE_ENV=development ts-node src/index.ts --trace-warnings",
|
"start:debug": "cross-env NODE_ENV=development ts-node src/index.ts --trace-warnings",
|
||||||
"build": "esbuild src/index.ts --outfile=dist/index.js --minify --target=esnext --bundle --platform=node",
|
"build": "esbuild src/index.ts --outfile=dist/index.js --target=esnext --bundle --platform=node",
|
||||||
"dev": "nodemon -e ts,tsx -w src --exec 'yarn build && yarn start:dev'",
|
"dev": "nodemon -e ts,tsx -w src --exec 'yarn build && yarn start:dev'",
|
||||||
"debug": "nodemon -e ts,tsx -w src --exec 'yarn start:debug'"
|
"debug": "nodemon -e ts,tsx -w src --exec 'yarn start:debug'"
|
||||||
},
|
},
|
||||||
@ -28,4 +28,4 @@
|
|||||||
"typescript": "^4.9.4",
|
"typescript": "^4.9.4",
|
||||||
"yarn": "^1.22.19"
|
"yarn": "^1.22.19"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -23,8 +23,6 @@ const client = new Client({
|
|||||||
|
|
||||||
const config = new ConfigManager()
|
const config = new ConfigManager()
|
||||||
|
|
||||||
console.log(config)
|
|
||||||
|
|
||||||
client.on('ready', () => {
|
client.on('ready', () => {
|
||||||
console.log(`Logged in as ${client.user?.tag}!`);
|
console.log(`Logged in as ${client.user?.tag}!`);
|
||||||
updateServerData();
|
updateServerData();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user