learning4 commited on
Commit
63a3498
·
verified ·
1 Parent(s): 71d6441

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- # Use a base image with Python
2
- FROM python:3.9-slim
3
 
4
  # Set the working directory
5
  WORKDIR /app
@@ -16,8 +16,5 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  # Expose port 5000 to the world outside this container
17
  EXPOSE 5000
18
 
19
- # Define environment variable (optional, not needed for this setup)
20
- ENV NAME World
21
-
22
  # Run app.py when the container launches
23
  CMD ["python", "app.py"]
 
1
+ # Use a base image with Python 3.10
2
+ FROM python:3.10-slim
3
 
4
  # Set the working directory
5
  WORKDIR /app
 
16
  # Expose port 5000 to the world outside this container
17
  EXPOSE 5000
18
 
 
 
 
19
  # Run app.py when the container launches
20
  CMD ["python", "app.py"]