add tini: Uptimekuma
This commit is contained in:
@@ -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