ui / start.sh
vikarshana's picture
Update start.sh
838b498 verified
raw
history blame contribute delete
353 Bytes
#!/bin/sh
# ⚠️ This is a bad idea
# PROBLEM 1: How do you get the token?
# You would have to save your GITHUB_TOKEN as a plain-text HF Secret.
# This is very insecure!
# Or, if you already cloned in the Dockerfile, you'd do a pull:
# This still needs the token to be saved as a secret.
git pull origin main
npm update
# Then run your app
npm start