mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-12-25 14:25:35 +00:00
Modified the Dockerfile to allow usage of custom parameters and arguments and to stop using --help
all the time.
This commit is contained in:
parent
a489036c2f
commit
d9667211a4
@ -7,6 +7,4 @@ RUN apt-get update -y && apt-get install -y curl && \
|
||||
curl -L "https://github.com/Yelp/dumb-init/releases/download/v1.1.3/dumb-init_1.1.3_amd64" -o /bin/dumb-init && \
|
||||
curl -L $JAR_DOWNLOAD_URL -o telegram_backup.jar && mkdir /data/ && chmod +x /bin/dumb-init
|
||||
|
||||
ENTRYPOINT ["/bin/dumb-init", "--"]
|
||||
|
||||
CMD ["java", "-jar", "telegram_backup.jar", "--target", "/data/", "--help"]
|
||||
ENTRYPOINT ["/bin/dumb-init", "--", "java", "-jar", "telegram_backup.jar", "--target", "/data/"]
|
||||
|
Loading…
Reference in New Issue
Block a user