Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -28,5 +28,8 @@ RUN mkdir -p $HF_HOME && chmod -R 777 $HF_HOME
|
|
| 28 |
# Expose the port the app runs on
|
| 29 |
EXPOSE 8000
|
| 30 |
|
| 31 |
-
#
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
# Expose the port the app runs on
|
| 29 |
EXPOSE 8000
|
| 30 |
|
| 31 |
+
# Install hypercorn
|
| 32 |
+
RUN pip install hypercorn
|
| 33 |
+
|
| 34 |
+
# Run the application using hypercorn
|
| 35 |
+
CMD ["hypercorn", "main:app", "--bind", "0.0.0.0:8000"]
|