health check

This commit is contained in:
VinceC
2025-01-04 11:53:48 -06:00
parent fb718c47f0
commit 8c7c3fc257
2 changed files with 18 additions and 5 deletions

View File

@@ -4,6 +4,9 @@ FROM node:18-slim
# Create app directory
WORKDIR /usr/src/app
# Install curl for healthcheck
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package*.json ./