添加dockerfile

This commit is contained in:
whyour
2021-03-18 10:02:13 +08:00
parent 361963711e
commit 4555a24434
13 changed files with 1026 additions and 191 deletions
+2 -3
View File
@@ -3,9 +3,9 @@
"scripts": {
"start": "umi dev",
"build": "umi build",
"build-back": "tsc",
"build-back": "tsc -p tsconfig.back.json",
"start-back": "nodemon",
"pm2": "npm run build && node build/app.js",
"pm2": "npm run build-back && node build/app.js",
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
@@ -68,7 +68,6 @@
"@types/express-jwt": "^6.0.1",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.161",
"@types/mongoose": "^5.7.36",
"@types/node": "^14.11.2",
"@types/node-fetch": "^2.5.8",
"@types/qrcode.react": "^1.0.1",