We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65a1ab commit 1cf8b99Copy full SHA for 1cf8b99
1 file changed
Dockerfile
@@ -1,8 +1,12 @@
1
# Using official python runtime base image
2
FROM python:3.9.5-slim
3
4
+# Allow statements and log messages to immediately appear in the Knative logs
5
+ENV PYTHONUNBUFFERED True
6
+
7
# Set the application directory
-WORKDIR /app
8
+ENV APP_HOME /app
9
+WORKDIR $APP_HOME
10
11
# Install our requirements.txt
12
ADD requirements.txt /app/requirements.txt
0 commit comments