rhoitjadhav commited on
Commit
3518d1a
1 Parent(s): ba827d0

update dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. start.sh +2 -2
Dockerfile CHANGED
@@ -29,5 +29,5 @@ RUN chmod +x /start.sh
29
 
30
  USER root
31
 
32
- CMD ["./start.sh"]
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
- sudo service elasticsearch start
7
  echo "Waiting for elasticsearch to start"
8
  sleep 15
9
- sudo uvicorn argilla:app --host "0.0.0.0"
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