rhoitjadhav's picture
update dockerfile
7e809b7
raw
history blame
291 Bytes
#!/usr/bin/env bash
set -e
echo "ubuntu" | sudo -S su user
# Start elasticsearch
sudo /etc/init.d/elasticsearch start
echo "Waiting for elasticsearch to start"
sleep 15
# Load data
pip3 install datasets
python3.9 /app/load_data.py &
# Start argilla
uvicorn argilla:app --host "0.0.0.0"