Spaces:
Sleeping
Sleeping
Commit
·
57987b1
1
Parent(s):
6674651
Remove frontend dev server from docker-entrypoint.sh
Browse files- docker-entrypoint.sh +2 -8
docker-entrypoint.sh
CHANGED
|
@@ -3,11 +3,5 @@
|
|
| 3 |
# Add /usr/games to PATH so stockfish can be found
|
| 4 |
export PATH=$PATH:/usr/games
|
| 5 |
|
| 6 |
-
# Start the backend server
|
| 7 |
-
python -m uvicorn app:app --host 0.0.0.0 --port 8000
|
| 8 |
-
|
| 9 |
-
# Change to the frontend directory and start the frontend server in the foreground
|
| 10 |
-
cd web
|
| 11 |
-
npm run dev -- --host 0.0.0.0 --port 5173
|
| 12 |
-
|
| 13 |
-
# The script will exit when the frontend server exits
|
|
|
|
| 3 |
# Add /usr/games to PATH so stockfish can be found
|
| 4 |
export PATH=$PATH:/usr/games
|
| 5 |
|
| 6 |
+
# Start the backend server
|
| 7 |
+
python -m uvicorn app:app --host 0.0.0.0 --port 8000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|