fix: update COPY command in Dockerfile to include package-lock.json

This commit is contained in:
2026-02-22 00:19:44 +01:00
parent bb75209c80
commit 77702f79cc
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ FROM node:20-alpine
WORKDIR /app WORKDIR /app
# Copy package files # Copy package files
COPY package.json ./ COPY package*.json ./
# Install dependencies # Install dependencies
RUN npm install RUN npm install

View File

@@ -5,5 +5,5 @@ services:
ports: ports:
- "3000" - "3000"
volumes: volumes:
- ./:/app - .:/app
command: npm run start command: npm run start