Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
# Use the official Python image as a base
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Set the working directory
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Install the required packages
|
8 |
-
RUN pip install tensorflow fastapi uvicorn requests pillow python-multipart
|
9 |
|
10 |
# Copy the FastAPI application code into the container
|
11 |
COPY . .
|
|
|
1 |
# Use the official Python image as a base
|
2 |
+
FROM python:3.12
|
3 |
|
4 |
# Set the working directory
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Install the required packages
|
8 |
+
RUN pip install tensorflow==2.16.2 fastapi uvicorn requests pillow python-multipart
|
9 |
|
10 |
# Copy the FastAPI application code into the container
|
11 |
COPY . .
|