mirror of
https://github.com/ziggyds/iventoy
synced 2024-11-11 13:11:10 +00:00
define entry script + tail logging
This commit is contained in:
parent
ec02487dc8
commit
bc113f15a8
@ -14,4 +14,5 @@ WORKDIR /app
|
||||
COPY --from=init /iventoy/iventoy /app
|
||||
RUN chmod +x /app/iventoy.sh
|
||||
|
||||
CMD ["/bin/bash", "-c", "bash /iventoy.sh start && sleep infinity"]
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
CMD /entrypoint.sh
|
6
entrypoint.sh
Normal file
6
entrypoint.sh
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
#!/bin/sh
|
||||
cd /app
|
||||
./iventoy.sh start
|
||||
sleep infinity
|
||||
tail -f /iventoy/log/log.txt
|
Loading…
Reference in New Issue
Block a user