Amitai Getzler commited on
Commit
2dca332
1 Parent(s): 9ef8061
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use an official Python runtime as a parent image
2
- FROM python:3.9-slim
3
 
4
  # Set the working directory in the container
5
  WORKDIR /app
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
14
  EXPOSE 80
15
 
16
  # Define environment variable
17
- ENV NAME World
18
 
19
  # Run app.py when the container launches
20
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
 
1
  # Use an official Python runtime as a parent image
2
+ FROM python:3.12-slim
3
 
4
  # Set the working directory in the container
5
  WORKDIR /app
 
14
  EXPOSE 80
15
 
16
  # Define environment variable
17
+ ENV HF_HOME .
18
 
19
  # Run app.py when the container launches
20
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]