deepak191z commited on
Commit
fdf49a3
·
verified ·
1 Parent(s): 25b87a9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -7,6 +7,9 @@ WORKDIR /code
7
  # Copy the requirements file to the container
8
  COPY ./requirements.txt /code/requirements.txt
9
 
 
 
 
10
  # Upgrade pip to the latest version and install the dependencies
11
  RUN pip install --no-cache-dir --upgrade pip && \
12
  pip install --no-cache-dir -r /code/requirements.txt
 
7
  # Copy the requirements file to the container
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
+ # Set the proper permissions for the copied files
11
+ RUN chown -R root:root /code
12
+
13
  # Upgrade pip to the latest version and install the dependencies
14
  RUN pip install --no-cache-dir --upgrade pip && \
15
  pip install --no-cache-dir -r /code/requirements.txt