Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ WORKDIR /app
|
|
4 |
COPY . .
|
5 |
RUN apt-get update && \
|
6 |
apt-get install -y curl jq tar aria2 && \
|
7 |
-
curl -sL https://api.github.com/repos/${app}
|
8 |
chmod +x start.sh && mkdir -p local && chmod 777 local && \
|
9 |
mkdir -p data && chmod 777 data
|
10 |
COPY config.json data/config.json
|
|
|
4 |
COPY . .
|
5 |
RUN apt-get update && \
|
6 |
apt-get install -y curl jq tar aria2 && \
|
7 |
+
curl -sL https://api.github.com/repos/Clouddark75/${app}/releases/latest | jq -r '.assets[] | select(.name | test("linux-amd64.tar.gz$")) | .browser_download_url' | xargs curl -L | tar -zxvf - -C ./ && \
|
8 |
chmod +x start.sh && mkdir -p local && chmod 777 local && \
|
9 |
mkdir -p data && chmod 777 data
|
10 |
COPY config.json data/config.json
|