Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use the official Python image as a parent image
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Set the working directory within the container
|
5 |
WORKDIR /app
|
@@ -17,4 +17,4 @@ COPY . .
|
|
17 |
EXPOSE 8000
|
18 |
|
19 |
# Define the command to run your FastAPI application
|
20 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"
|
|
|
1 |
# Use the official Python image as a parent image
|
2 |
+
FROM python:3.9-slim
|
3 |
|
4 |
# Set the working directory within the container
|
5 |
WORKDIR /app
|
|
|
17 |
EXPOSE 8000
|
18 |
|
19 |
# Define the command to run your FastAPI application
|
20 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|