xyplon commited on
Commit
f12a1f3
·
verified ·
1 Parent(s): 471b164

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -6,9 +6,9 @@ WORKDIR /app
6
  # Copy the current directory contents into the container at /app
7
  COPY . /app
8
 
9
- # Install dependencies
10
- COPY requirements.txt /app/requirements.txt
11
- RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Expose the port Gunicorn will listen on
14
  EXPOSE 7860
 
6
  # Copy the current directory contents into the container at /app
7
  COPY . /app
8
 
9
+ # Install Gunicorn and your application dependencies
10
+ RUN pip install --no-cache-dir gunicorn && \
11
+ pip install --no-cache-dir -r requirements.txt
12
 
13
  # Expose the port Gunicorn will listen on
14
  EXPOSE 7860