Browse Source
Merge pull request #1092 from doccano/fix/#1091
Fix backend container fail
pull/1094/head
Hiroki Nakayama
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
app/tools/run.sh
|
@ -4,6 +4,7 @@ set -o errexit |
|
|
|
|
|
|
|
|
echo "Making staticfiles" |
|
|
echo "Making staticfiles" |
|
|
static_dir=staticfiles |
|
|
static_dir=staticfiles |
|
|
|
|
|
mkdir -p client/dist/static |
|
|
if [[ ! -d $static_dir ]] || [[ -z $(ls -A $static_dir) ]]; then |
|
|
if [[ ! -d $static_dir ]] || [[ -z $(ls -A $static_dir) ]]; then |
|
|
echo "Executing collectstatic" |
|
|
echo "Executing collectstatic" |
|
|
python manage.py collectstatic --noinput; |
|
|
python manage.py collectstatic --noinput; |
|
|