Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -10,8 +10,8 @@ COPY . /app
|
|
10 |
# Install the required dependencies
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
-
# Expose port
|
14 |
-
EXPOSE
|
15 |
|
16 |
-
# Command to run the app using
|
17 |
-
CMD ["
|
|
|
10 |
# Install the required dependencies
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
+
# Expose the port for Hypercorn
|
14 |
+
EXPOSE 8000
|
15 |
|
16 |
+
# Command to run the app using Hypercorn
|
17 |
+
CMD ["python", "-m", "hypercorn", "app:app", "--bind", "0.0.0.0:8000"]
|