mirror of
https://github.com/static-web-server/static-web-server.git
synced 2026-01-25 05:06:33 +00:00
refactor: STOPSIGNAL SIGQUIT for docker images (graceful shutdown)
basically these docker changes match the `graceful shutdown` feature at docker level
This commit is contained in:
@@ -19,7 +19,11 @@ COPY ./docker/alpine/entrypoint.sh /
|
||||
COPY ./docker/public /public
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
CMD ["static-web-server"]
|
||||
|
||||
# Metadata
|
||||
|
||||
@@ -15,6 +15,9 @@ COPY --from=latest /usr/local/bin/static-web-server /
|
||||
COPY ./docker/public /public
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
||||
ENTRYPOINT ["/static-web-server"]
|
||||
|
||||
# Metadata
|
||||
|
||||
Reference in New Issue
Block a user