Spaces:
Running
Running
Commit
•
a23e87c
1
Parent(s):
7c363b3
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -12,10 +12,10 @@ RUN --mount=type=secret,id=gist_teldrive,mode=0444,required=true \
|
|
12 |
latest_version=$(curl -s https://api.github.com/repos/divyam234/teldrive/releases/latest | grep "tag_name" | cut -d'"' -f4) && \
|
13 |
wget https://github.com/divyam234/teldrive/releases/download/$latest_version/teldrive-$latest_version-linux-amd64.tar.gz -O /app/teldrive.tar.gz && \
|
14 |
tar xvf /app/teldrive.tar.gz -C /app/ && \
|
15 |
-
wget $(cat /run/secrets/gist_teldrive) -O /app/
|
16 |
-
chmod a+x /app/teldrive && chmod 777 /app/
|
17 |
-
touch /app/
|
18 |
-
chmod 777 /app/
|
19 |
|
20 |
## Start
|
21 |
RUN chmod a+x /app/start.sh
|
|
|
12 |
latest_version=$(curl -s https://api.github.com/repos/divyam234/teldrive/releases/latest | grep "tag_name" | cut -d'"' -f4) && \
|
13 |
wget https://github.com/divyam234/teldrive/releases/download/$latest_version/teldrive-$latest_version-linux-amd64.tar.gz -O /app/teldrive.tar.gz && \
|
14 |
tar xvf /app/teldrive.tar.gz -C /app/ && \
|
15 |
+
wget $(cat /run/secrets/gist_teldrive) -O /app/config.toml && \
|
16 |
+
chmod a+x /app/teldrive && chmod 777 /app/config.toml && \
|
17 |
+
touch /app/session.db && \
|
18 |
+
chmod 777 /app/session.db
|
19 |
|
20 |
## Start
|
21 |
RUN chmod a+x /app/start.sh
|