Spaces:
Paused
Paused
lain-iwakura
commited on
Commit
•
f5bd107
1
Parent(s):
57fd3ba
Create Dockerfile
Browse files- Dockerfile +13 -15
Dockerfile
CHANGED
@@ -1,15 +1,13 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
USER node
|
15 |
-
CMD ["/bin/bash", "./run.sh"]
|
|
|
1 |
+
from python:3.10
|
2 |
+
|
3 |
+
workdir /app
|
4 |
+
|
5 |
+
copy requirements.txt .
|
6 |
+
run pip install -r requirements.txt
|
7 |
+
|
8 |
+
run mkdir /.cache && chmod 777 /.cache
|
9 |
+
run mkdir .chroma && chmod 777 .chroma
|
10 |
+
copy . .
|
11 |
+
expose 7860
|
12 |
+
|
13 |
+
cmd ["python", "display_maintenance_error.py"]
|
|
|
|