DeeCeeXxx commited on
Commit
9fb8f15
·
verified ·
1 Parent(s): c08bc42

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,13 +1,15 @@
1
  # Use an official Node.js runtime as a parent image
2
  FROM node:18-alpine
3
 
 
 
4
  # Set the working directory
5
  WORKDIR /app
6
 
7
  # Copy package.json and package-lock.json
8
  COPY package.json ./
9
 
10
- RUN npm install
11
 
12
  # Copy the rest of the application
13
  COPY . .
 
1
  # Use an official Node.js runtime as a parent image
2
  FROM node:18-alpine
3
 
4
+ RUN npm install
5
+
6
  # Set the working directory
7
  WORKDIR /app
8
 
9
  # Copy package.json and package-lock.json
10
  COPY package.json ./
11
 
12
+
13
 
14
  # Copy the rest of the application
15
  COPY . .