fix: updated container to use tini for proper signal handling.
This commit is contained in:
@@ -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 ./
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
exec node server.js
|
||||
exec /sbin/tini -- node server.js
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user