tester in docker works
This commit is contained in:
6
scripts/create_worker.sh
Executable file
6
scripts/create_worker.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
||||
python3 -m ensurepip
|
||||
apk update && apk add postgresql-dev gcc python3-dev musl-dev jpeg-dev zlib-dev libjpeg
|
||||
pip3 install --no-cache --upgrade pip setuptools
|
||||
pip3 install -r requirements.txt
|
||||
python3 manage.py receive
|
3
scripts/runserver.sh
Executable file
3
scripts/runserver.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
python manage.py migrate
|
||||
python manage.py update_languages
|
||||
python manage.py runserver 0.0.0.0:8000
|
Reference in New Issue
Block a user