Flask modification
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -8,4 +8,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
# Set the FLASK_APP environment variable
|
12 |
+
ENV FLASK_APP=app
|
13 |
+
|
14 |
+
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "7860"]
|