Spaces:
Runtime error
Runtime error
Commit
·
b265dc0
1
Parent(s):
959b459
update dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -33,7 +33,8 @@ RUN chmod +x /app/start.sh
|
|
| 33 |
|
| 34 |
RUN chmod -R 777 /app
|
| 35 |
|
| 36 |
-
RUN useradd -ms /bin/bash user -p "$(openssl passwd -1 ubuntu)"
|
| 37 |
|
| 38 |
# Executing argilla along with elasticsearch
|
| 39 |
-
ENTRYPOINT "/app/start.sh"
|
|
|
|
|
|
| 33 |
|
| 34 |
RUN chmod -R 777 /app
|
| 35 |
|
| 36 |
+
#RUN useradd -ms /bin/bash user -p "$(openssl passwd -1 ubuntu)"
|
| 37 |
|
| 38 |
# Executing argilla along with elasticsearch
|
| 39 |
+
#ENTRYPOINT "/app/start.sh"
|
| 40 |
+
CMD ["/bin/bash", "-c", "/etc/init.d/elasticsearch start; sleep 15; uvicorn argilla:app --host '0.0.0.0'"]
|