Spaces:
Runtime error
Runtime error
Commit
·
6eb4c49
1
Parent(s):
0ede2ba
update dockerfile
Browse files- Dockerfile +1 -1
- start.sh +1 -1
Dockerfile
CHANGED
@@ -12,7 +12,7 @@ ENV UVICORN_PORT=6900
|
|
12 |
|
13 |
# Install Python
|
14 |
RUN apt update
|
15 |
-
RUN apt -y install curl python3.9 python3.9-dev python3.9-distutils gcc gnupg apache2-utils
|
16 |
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
17 |
RUN python3.9 get-pip.py
|
18 |
|
|
|
12 |
|
13 |
# Install Python
|
14 |
RUN apt update
|
15 |
+
RUN apt -y install curl python3.9 python3.9-dev python3.9-distutils gcc gnupg apache2-utils sudo
|
16 |
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
17 |
RUN python3.9 get-pip.py
|
18 |
|
start.sh
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
set -e
|
4 |
|
5 |
# Starting elasticsearch & argilla
|
6 |
-
|
7 |
echo "Waiting for elasticsearch to start"
|
8 |
sleep 15
|
9 |
uvicorn argilla:app --host "0.0.0.0"
|
|
|
3 |
set -e
|
4 |
|
5 |
# Starting elasticsearch & argilla
|
6 |
+
sudo service elasticsearch start
|
7 |
echo "Waiting for elasticsearch to start"
|
8 |
sleep 15
|
9 |
uvicorn argilla:app --host "0.0.0.0"
|