We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e305213 commit e5576e0Copy full SHA for e5576e0
Dockerfile
@@ -15,4 +15,5 @@ EXPOSE 80
15
EXPOSE 8000
16
RUN service nginx start
17
18
+RUN chmod +x /app/start.sh
19
ENTRYPOINT ["/app/start.sh"]
start.sh
100644
100755
@@ -3,7 +3,7 @@ set -e
3
4
service nginx start
5
6
-if [ "$ENV" == "dev" ]; then
+if [ "$ENV" == "development" ]; then
7
exec bash -c "DATABASE_URL=$DATABASE_URL python app.py"
8
else
9
exec bash -c "DATABASE_URL=$DATABASE_URL gunicorn --bind 0.0.0.0:8000 -w 4 app:app"
0 commit comments