Skip to content

Commit ded2122

Browse files
committed
Adds /app to the PYTHONPATH
By having `/app` in the `PYTHONPATH`, users of the template should be able to use absolute imports, as their modules will be placed inside `PYTHONPATH`.
1 parent bf36874 commit ded2122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MAINTAINER Michaël Dierick "[email protected]"
33

44
# Gunicorn Docker config
55
ENV MODULE_NAME web
6-
ENV PYTHONPATH "/usr/src/app"
6+
ENV PYTHONPATH "/usr/src/app:/app"
77
ENV WEB_CONCURRENCY "1"
88

99
# Overrides the start.sh used in `tiangolo/meinheld-gunicorn`

0 commit comments

Comments
 (0)