supertskone commited on
Commit
17c0e1a
·
verified ·
1 Parent(s): a2cf935

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use an official Python runtime as a parent image
2
- FROM python:3.12-slim
3
 
4
  # Set the working directory
5
  WORKDIR /app
@@ -19,6 +19,6 @@ RUN pip install --no-cache-dir -r requirements.txt
19
 
20
  # Make port 5000 available to the world outside this container
21
  EXPOSE 5000
22
- ENV TRANSFORMERS_CACHE=/app/cache
23
  # Run the application
24
  CMD ["python", "run.py"]
 
1
  # Use an official Python runtime as a parent image
2
+ FROM python:3.11
3
 
4
  # Set the working directory
5
  WORKDIR /app
 
19
 
20
  # Make port 5000 available to the world outside this container
21
  EXPOSE 5000
22
+
23
  # Run the application
24
  CMD ["python", "run.py"]