add tini: Uptimekuma
This commit is contained in:
@@ -29,7 +29,8 @@ RUN apk add --no-cache \
|
|||||||
sqlite \
|
sqlite \
|
||||||
tzdata \
|
tzdata \
|
||||||
zip \
|
zip \
|
||||||
libc6-compat
|
libc6-compat \
|
||||||
|
tini
|
||||||
|
|
||||||
# updating npm
|
# updating npm
|
||||||
RUN npm install npm@latest -g
|
RUN npm install npm@latest -g
|
||||||
@@ -49,5 +50,7 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
|
||||||
CMD ["/bin/ash", "/entrypoint.sh"]
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/sbin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
Reference in New Issue
Block a user