RFP-API / entrypoint.sh
chouchouvs's picture
Create entrypoint.sh
fa2de66 verified
raw
history blame
258 Bytes
#!/bin/sh
set -e
if [ ! -d "/app/RFPmaster" ]; then
git clone https://$GITHUB_TOKEN@github.com/chourmovs/RFPmaster.git
fi
cd RFPmaster
pip install --no-cache-dir -r requirements.txt fastapi uvicorn
exec uvicorn rfp_api_app:app --host 0.0.0.0 --port 7860