Skip to content

Commit 0aab193

Browse files
authored
Set stop signal to SIGTERM for fpm-apache and fpm-nginx (Fixes #306) (#402)
1 parent 40d430c commit 0aab193

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/variations/fpm-apache/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ USER www-data
149149

150150
EXPOSE 8080 8443
151151

152+
STOPSIGNAL SIGTERM
153+
152154
WORKDIR ${APP_BASE_DIR}
153155

154156
ENTRYPOINT ["/init"]

src/variations/fpm-nginx/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ USER www-data
178178

179179
EXPOSE 8080 8443
180180

181+
STOPSIGNAL SIGTERM
182+
181183
WORKDIR ${APP_BASE_DIR}
182184

183185
ENTRYPOINT ["/init"]

0 commit comments

Comments
 (0)