init space
Browse files- Dockerfile +1 -1
- run.sh +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-
|
2 |
|
3 |
ENV DEBIAN_FRONTEND=noninteractive
|
4 |
ENV LANG en_US.UTF-8
|
|
|
1 |
+
FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel as base
|
2 |
|
3 |
ENV DEBIAN_FRONTEND=noninteractive
|
4 |
ENV LANG en_US.UTF-8
|
run.sh
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
service nginx start
|
2 |
-
cd ./gomoku/
|
3 |
-
cd ./gomoku/
|
|
|
1 |
service nginx start
|
2 |
+
cd ./gomoku/gomoku_server_ui/backend && FLASK_APP=app.py FLASK_ENV=development FLASK_DEBUG=1 flask run --port 5001
|
3 |
+
cd ./gomoku/gomoku_server_ui/frontend && npm run start
|