FROM ubuntu:latest WORKDIR /app COPY . . RUN apt-get update && apt-get install -y curl bash unzip git supervisor RUN curl -s https://i.jpillora.com/divyam234/filebrowser | bash \ && curl -s https://i.jpillora.com/caddyserver/caddy | bash \ && curl -s https://i.jpillora.com/forscht/ddrv | bash RUN --mount=type=secret,id=GIST_CONFIG,mode=0444,required=true \ curl -s $(cat /run/secrets/GIST_CONFIG) -o /app/config.yaml RUN chmod -R 777 /app EXPOSE 2525 2526 CMD ["supervisord", "-c", "/app/supervisord.conf"]