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