Spaces:
Runtime error
Runtime error
Ron Au
commited on
Commit
•
a418ec5
1
Parent(s):
45d891e
build(app): Fix deploy commands
Browse files
app.py
CHANGED
@@ -6,6 +6,6 @@ subprocess.run("pwd && ls -al", shell=True)
|
|
6 |
subprocess.run("export PORT=7860", shell=True)
|
7 |
subprocess.run(["echo", '"PORT set to \$PORT"'])
|
8 |
|
9 |
-
subprocess.run("npm
|
10 |
subprocess.run("npm run build --prefix app", shell=True)
|
11 |
subprocess.run("node app/build", shell=True)
|
|
|
6 |
subprocess.run("export PORT=7860", shell=True)
|
7 |
subprocess.run(["echo", '"PORT set to \$PORT"'])
|
8 |
|
9 |
+
subprocess.run("npm --prefix app install", shell=True)
|
10 |
subprocess.run("npm run build --prefix app", shell=True)
|
11 |
subprocess.run("node app/build", shell=True)
|