update: fix docker shutdown issues
Local Docker Build (Dev) / build-dev (push) Successful in 30s

This commit is contained in:
2025-10-17 10:32:25 -04:00
parent 87930efb79
commit 5ecf46df92
3 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -12,11 +12,12 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
GIT_BRANCH=${GIT_BRANCH} \
BUILD_SOURCE=${BUILD_SOURCE}
# Install system dependencies including PostgreSQL client libraries
# Install system dependencies including PostgreSQL client libraries and tini
RUN apt-get update && apt-get install -y \
curl \
libpq-dev \
gcc \
tini \
&& rm -rf /var/lib/apt/lists/*
# Create app user and directory
@@ -67,5 +68,8 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
# Expose port
EXPOSE 8080
# Use tini as init process to handle signals and zombie processes properly
ENTRYPOINT ["tini", "--"]
# Run the application with plugin deployment
CMD ["/app/deploy-plugin.sh"]
+1 -1
View File
@@ -1 +1 @@
2.2.24
2.2.25
+4
View File
@@ -16,6 +16,10 @@ services:
# Restart policy
restart: unless-stopped
# Graceful shutdown configuration
stop_grace_period: 30s
stop_signal: SIGTERM
# Environment files
env_file:
- .env