mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +00:00
add tini: Uptimekuma
This commit is contained in:
1 parent
3dc42ebf9f
commit
83436eb3b6
1 file changed
+6
-3
@@ -29,7 +29,8 @@ RUN apk add --no-cache \
|
||||
sqlite \
|
||||
tzdata \
|
||||
zip \
|
||||
libc6-compat
|
||||
libc6-compat \
|
||||
tini
|
||||
|
||||
# updating npm
|
||||
RUN npm install npm@latest -g
|
||||
@@ -49,5 +50,7 @@ USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
CMD ["/bin/ash", "/entrypoint.sh"]
|
||||
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/sbin/tini", "-g", "--"]
|
||||
CMD ["/entrypoint.sh"]
|
||||
Reference in new issue
Block a user