Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|