pvanand commited on
Commit
98334be
·
verified ·
1 Parent(s): 7a08838

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -12,11 +12,14 @@ WORKDIR /app
12
  # Create a temporary folder with write permissions
13
  RUN mkdir /app/temp && chmod 777 /app/temp
14
 
15
- # Copy the current directory contents into the container
16
- COPY . .
17
 
18
  # Install requirements
19
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
 
 
 
20
 
21
  # Ensure the correct permissions for hrequests library path
22
  RUN chmod -R a+w /usr/local/lib/python3.10/site-packages/hrequests/bin/
 
12
  # Create a temporary folder with write permissions
13
  RUN mkdir /app/temp && chmod 777 /app/temp
14
 
15
+ COPY requirements.txt .
 
16
 
17
  # Install requirements
18
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
19
+ # Copy the current directory contents into the container
20
+
21
+ COPY . .
22
+
23
 
24
  # Ensure the correct permissions for hrequests library path
25
  RUN chmod -R a+w /usr/local/lib/python3.10/site-packages/hrequests/bin/