Spaces:
Runtime error
Runtime error
rhoitjadhav
commited on
Commit
•
3518d1a
1
Parent(s):
ba827d0
update dockerfile
Browse files- Dockerfile +1 -1
- start.sh +2 -2
Dockerfile
CHANGED
@@ -29,5 +29,5 @@ RUN chmod +x /start.sh
|
|
29 |
|
30 |
USER root
|
31 |
|
32 |
-
CMD ["
|
33 |
|
|
|
29 |
|
30 |
USER root
|
31 |
|
32 |
+
CMD ["service elasticsearch start"]
|
33 |
|
start.sh
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
set -e
|
4 |
|
5 |
# Starting elasticsearch & argilla
|
6 |
-
|
7 |
echo "Waiting for elasticsearch to start"
|
8 |
sleep 15
|
9 |
-
|
10 |
|
|
|
3 |
set -e
|
4 |
|
5 |
# Starting elasticsearch & argilla
|
6 |
+
service elasticsearch start
|
7 |
echo "Waiting for elasticsearch to start"
|
8 |
sleep 15
|
9 |
+
uvicorn argilla:app --host "0.0.0.0"
|
10 |
|