Synced repo using 'sync_with_huggingface' Github Action
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -19,8 +19,8 @@ WORKDIR /app
|
|
19 |
# install packages from packages.txt (apt-get install) using xargs
|
20 |
RUN xargs apt-get -y install < packages.txt
|
21 |
|
22 |
-
#
|
23 |
-
RUN
|
24 |
|
25 |
# Install the Python dependencies
|
26 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
19 |
# install packages from packages.txt (apt-get install) using xargs
|
20 |
RUN xargs apt-get -y install < packages.txt
|
21 |
|
22 |
+
# give permission to root user
|
23 |
+
RUN chown -R root:root . && find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \;
|
24 |
|
25 |
# Install the Python dependencies
|
26 |
RUN pip install --no-cache-dir -r requirements.txt
|