Pamudu13 commited on
Commit
062b115
·
verified ·
1 Parent(s): 8cfb2a7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -7,8 +7,11 @@ WORKDIR /app
7
  # Copy the current directory contents into the container at /app
8
  COPY . /app
9
 
10
- # Install dependencies
11
- RUN pip install --no-cache-dir flask openai hypercorn
 
 
 
12
 
13
  # Expose the port Hypercorn will run on (Hugging Face typically uses 7860)
14
  EXPOSE 7860
 
7
  # Copy the current directory contents into the container at /app
8
  COPY . /app
9
 
10
+ # Copy the requirements file into the container
11
+ COPY requirements.txt .
12
+
13
+ # Install dependencies from requirements.txt
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  # Expose the port Hypercorn will run on (Hugging Face typically uses 7860)
17
  EXPOSE 7860