added port
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -26,6 +26,8 @@ RUN pip install --no-cache-dir --upgrade pip setuptools && \
|
|
26 |
# Copy your application files
|
27 |
COPY . .
|
28 |
|
29 |
-
#
|
30 |
-
|
31 |
|
|
|
|
|
|
26 |
# Copy your application files
|
27 |
COPY . .
|
28 |
|
29 |
+
# Expose the port
|
30 |
+
EXPOSE 7860
|
31 |
|
32 |
+
# Command to run your application
|
33 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|