Copy over the seafile-cli start script, set ownership to bash scripts
This commit is contained in:
@@ -8,6 +8,7 @@ RUN mkdir /.seafile ;\
|
|||||||
|
|
||||||
COPY assets/seafile.list /etc/apt/sources.list.d/
|
COPY assets/seafile.list /etc/apt/sources.list.d/
|
||||||
COPY assets/supervisord.conf /.supervisord/
|
COPY assets/supervisord.conf /.supervisord/
|
||||||
|
COPY assets/seaf-cli-start.sh /
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
|
|
||||||
RUN apt-key adv \
|
RUN apt-key adv \
|
||||||
@@ -23,7 +24,9 @@ RUN groupadd -g $GID -o $UNAME ;\
|
|||||||
useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME ;\
|
useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME ;\
|
||||||
chown $UID.$GID -R /.seafile ;\
|
chown $UID.$GID -R /.seafile ;\
|
||||||
chown $UID.$GID -R /.supervisord ;\
|
chown $UID.$GID -R /.supervisord ;\
|
||||||
chown $UID.$GID -R /volume
|
chown $UID.$GID -R /volume ;\
|
||||||
|
chown $UID.$GID /entrypoint.sh ;\
|
||||||
|
chown $UID.$GID /seaf-cli-start.sh
|
||||||
USER $UNAME
|
USER $UNAME
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
||||||
Reference in New Issue
Block a user