2 Commits

4 changed files with 7 additions and 4 deletions

View File

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

View File

@@ -1,9 +1,9 @@
services: services:
jmespath-playground: jmespath-playground:
build: . build: .
image: skoszewski/jmespath-playground image: skoszewski/jmespath-playground:latest
ports: ports:
- "3000:3000" - "3000:3000"
environment: environment:
- NODE_ENV=production - NODE_ENV=production
restart: unless-stopped restart: unless-stopped

View File

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

View File

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