mirror of https://github.com/Xhofe/alist
feat: allow override startup command for Docker image (#3800)
This is to enable the use case where the stock Docker image is used with different flags. E.g. `docker run xhofe/alist:latest ./alist server --data=mydata` This was the behavior until PR#2818 changed it. This would make the image more usable.pull/3806/head
parent
1091e1b740
commit
6aaec19c1c
|
@ -15,4 +15,4 @@ RUN apk add --no-cache bash ca-certificates su-exec tzdata; \
|
|||
chmod +x /entrypoint.sh
|
||||
ENV PUID=0 PGID=0 UMASK=022
|
||||
EXPOSE 5244
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
CMD [ "/entrypoint.sh" ]
|
||||
|
|
Loading…
Reference in New Issue