mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 19:06:14 -08:00
fix docker stop issue by using tini for graceful shutdown
This commit is contained in:
1 parent
5449eabf2a
commit
2632c44195
1 file changed
+2
-2
@@ -18,7 +18,7 @@ RUN mkdir -p /tmp/output; \
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache tzdata
|
||||
RUN apk add --no-cache tzdata tini
|
||||
WORKDIR /app
|
||||
COPY --from=builder --chmod=755 /tmp/output/* /usr/local/bin
|
||||
|
||||
@@ -36,4 +36,4 @@ EXPOSE 11011/tcp
|
||||
# wss
|
||||
EXPOSE 11012/tcp
|
||||
|
||||
ENTRYPOINT ["easytier-core"]
|
||||
ENTRYPOINT ["/sbin/tini", "--", "easytier-core"]
|
||||
Reference in new issue
Block a user