sohan-ai commited on
Commit
65b763e
1 Parent(s): 5b0cf88

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -4,12 +4,15 @@ FROM python:3.10-slim
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
- # Copy the current directory contents into the container at /app
8
- COPY . /app
9
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
 
13
  # Expose port 7860
14
  EXPOSE 7860
15
 
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
+ # Copy the requirements file into the container at /app
8
+ COPY requirements.txt /app/
9
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # Copy the rest of the application into the container at /app
14
+ COPY . /app
15
+
16
  # Expose port 7860
17
  EXPOSE 7860
18