Spaces:
Sleeping
Sleeping
Upload 2 files
Browse files- Dockerfile +1 -1
- app.py +1 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirement.txt
|
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
# Make port 5000 available to the world outside this container
|
| 17 |
-
EXPOSE
|
| 18 |
|
| 19 |
# Define environment variable
|
| 20 |
ENV FLASK_APP=app.py
|
|
|
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
# Make port 5000 available to the world outside this container
|
| 17 |
+
EXPOSE 7860
|
| 18 |
|
| 19 |
# Define environment variable
|
| 20 |
ENV FLASK_APP=app.py
|
app.py
CHANGED
|
@@ -91,4 +91,4 @@ def index():
|
|
| 91 |
return render_template('index.html')
|
| 92 |
|
| 93 |
if __name__ == "__main__":
|
| 94 |
-
app.run(debug=True)
|
|
|
|
| 91 |
return render_template('index.html')
|
| 92 |
|
| 93 |
if __name__ == "__main__":
|
| 94 |
+
app.run(debug=True, port=7860)
|