fix: updated container to use tini for proper signal handling.

This commit is contained in:
2026-02-11 07:53:29 +01:00
parent dffc480eb9
commit 90353d4016
3 changed files with 5 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ FROM node:24-alpine AS production
# Set working directory
WORKDIR /app
# Install tini for signal forwarding and zombie reaping
RUN apk add --no-cache tini
# Copy package files
COPY package*.json ./

View File

@@ -1,3 +1,3 @@
#!/bin/sh
set -e
exec node server.js
exec /sbin/tini -- node server.js

View File

@@ -1,6 +1,6 @@
{
"name": "jmespath-playground",
"version": "1.4.3",
"version": "1.4.4",
"description": "A React-based web application for testing JMESPath expressions against JSON data",
"main": "index.js",
"scripts": {