Skip to content

Commit 684533f

Browse files
committed
fix: install the service provided requirements on startup
1 parent 39fe491 commit 684533f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -eu
33
if [ ${MODE:-""} == "development" ]; then
4-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4+
if [ -f /app/requirements.txt ]; then pip install -r /app/requirements.txt; fi
55
exec python web.py
66
else
77
exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"

0 commit comments

Comments
 (0)