build(Dockerfile): SHOULD be done with Dockerfile, hopefully it builds
This commit is contained in:
parent
bd53772e21
commit
12fd55f172
6 changed files with 38 additions and 46 deletions
19
api/run.bash
19
api/run.bash
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
#if [ ! -f .env ]; then
|
||||
# env | grep DESEC_TOKEN >>.env
|
||||
# env | grep CURRENT_DOMAIN >>.env
|
||||
#fi
|
||||
|
||||
# If virtual environment does exist..
|
||||
if [ ! -d venv ]; then
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -U -r requirements.txt
|
||||
pip install -U pip
|
||||
fi
|
||||
|
||||
# Assuming that your environemnt is already setup
|
||||
if [ -d venv ]; then
|
||||
pip install -U -r requirements.txt
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue