Synced repo using 'sync_with_huggingface' Github Action
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -13,8 +13,8 @@ ENV TZ=Asia/Jakarta
|
|
13 |
# git clone from private repo
|
14 |
RUN --mount=type=secret,id=GIT_REPO,mode=0444,required=true git clone $(cat /run/secrets/GIT_REPO) /app
|
15 |
|
16 |
-
#
|
17 |
-
RUN
|
18 |
|
19 |
# set working directory
|
20 |
WORKDIR /app
|
@@ -22,7 +22,6 @@ WORKDIR /app
|
|
22 |
# install packages from packages.txt (apt-get install) using xargs
|
23 |
RUN xargs apt-get -y install < packages.txt
|
24 |
|
25 |
-
|
26 |
# Install the Python dependencies
|
27 |
RUN pip install --no-cache-dir -r requirements.txt
|
28 |
|
|
|
13 |
# git clone from private repo
|
14 |
RUN --mount=type=secret,id=GIT_REPO,mode=0444,required=true git clone $(cat /run/secrets/GIT_REPO) /app
|
15 |
|
16 |
+
# allow permissions
|
17 |
+
RUN find . -type d -exec bash -c 'chmod 777 "$0"' {} \;
|
18 |
|
19 |
# set working directory
|
20 |
WORKDIR /app
|
|
|
22 |
# install packages from packages.txt (apt-get install) using xargs
|
23 |
RUN xargs apt-get -y install < packages.txt
|
24 |
|
|
|
25 |
# Install the Python dependencies
|
26 |
RUN pip install --no-cache-dir -r requirements.txt
|
27 |
|