0.3.0: initial commit + Dockerfile + rewrite
This commit is contained in:
commit
e679de5991
77 changed files with 4147 additions and 0 deletions
12
docker-run.sh
Normal file
12
docker-run.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
start-app() {
|
||||
[[ ! -d /opt/live-app ]] && exit 1
|
||||
cd /usr/src/app
|
||||
cp -rv /opt/live-app/{freak,pyproject.toml,.env,docker-run.sh} ./
|
||||
pip install -e .
|
||||
flask --app freak run --host=0.0.0.0
|
||||
}
|
||||
|
||||
[[ "$1" = "" ]] && start-app
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue