Update Dockerfile
Browse files12345678910111213141516171819202122FROM ubuntu:latestRUN apt-get update && \apt-get install -y ca-certificates tzdata wget tar curlWORKDIR /appCOPY . .RUN chmod -R 777 /app## TeldriveRUN --mount=type=secret,id=gist_teldrive,mode=0444,required=true \wget https://github.com/divyam234/teldrive/releases/latest/download/teldrive_linux_amd64.tar.gz -O /app/teldrive.tar.gz && \tar xvf /app/teldrive.tar.gz -C /app && \wget $(cat /run/secrets/gist_teldrive) -O /app/teldrive.env && \chmod a+x /app/teldrive && chmod 777 /app/teldrive.env && \touch /app/teldrive.db && \chmod 777 /app/teldrive.db## StartRUN chmod a+x /app/start.shCMD ["./start.sh"]123456789101112131415161718192021FROM ubuntu:latestRUN apt-get update && \apt-get install -y ca-certificates tzdata wget tar curlWORKDIR /appCOPY . .RUN chmod -R 777 /appRUN --mount=type=secret,id=gist_teldrive,mode=0444,required=true \wget https://github.com/divyam234/teldrive/releases/latest/download/teldrive-1.1.9-linux-amd64.tar.gz -O /app/teldrive.tar.gz && \tar xvf /app/teldrive.tar.gz -C /app && \wget $(cat /run/secrets/gist_teldrive) -O /app/config.toml && \chmod a+x /app/teldrive && chmod 777 /app/config.toml && \touch /app/session.db && \chmod 777 /app/session.dbRUN chmod a+x /app/start.shCMD ["./start.sh"]
Dockerfile+20-21