navpan2 commited on
Commit
ebf86ab
·
verified ·
1 Parent(s): 9f6582c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,11 +1,11 @@
1
  # Use the official Python image as a base
2
- FROM python:3.8
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 . .