first commit
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# 启动后端
|
||||
cd /app/backend
|
||||
node src/index.js &
|
||||
|
||||
# 启动前端
|
||||
cd /app/frontend
|
||||
HOSTNAME=127.0.0.1 PORT=3002 node server.js &
|
||||
|
||||
# 启动nginx
|
||||
nginx -g 'daemon off;'
|
||||
Reference in New Issue
Block a user