Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -13,8 +13,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
13 |
# Copy the model.onnx file
|
14 |
COPY model.onnx /app/
|
15 |
|
16 |
-
# Expose port 8000 for the FastAPI app
|
17 |
-
EXPOSE 8000
|
18 |
-
|
19 |
# Command to run the FastAPI app
|
20 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
13 |
# Copy the model.onnx file
|
14 |
COPY model.onnx /app/
|
15 |
|
|
|
|
|
|
|
16 |
# Command to run the FastAPI app
|
17 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|