fix: update COPY command in Dockerfile to include package-lock.json
This commit is contained in:
@@ -5,7 +5,7 @@ FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package.json ./
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
@@ -5,5 +5,5 @@ services:
|
||||
ports:
|
||||
- "3000"
|
||||
volumes:
|
||||
- ./:/app
|
||||
- .:/app
|
||||
command: npm run start
|
||||
|
||||
Reference in New Issue
Block a user