Skip to content

Commit c24b185

Browse files
author
Dmitry Berezovsky
committed
specified LANG var
1 parent 660eb82 commit c24b185

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

start-gunicorn.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
source /srv/virtenv/bin/activate
44

5+
export LANG=en_US.utf8
6+
7+
if [ -z "${INSTALL_REQUIREMENTS+x}" ]; then
8+
echo "Skip installing requirements"
9+
else
10+
pip install -r requirements.txt
11+
fi
12+
513
gunicorn $APP_MODULE \
614
--name $APP_PROCESS_NAME \
715
--bind 0.0.0.0:$APP_PORT \

0 commit comments

Comments
 (0)