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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,7 +1,7 @@
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
@@ -14,6 +14,8 @@ COPY package.json ./
14
  # Copy the rest of the application
15
  COPY . .
16
 
 
 
17
  # Expose the port
18
  EXPOSE 3000
19
 
 
1
  # Use an official Node.js runtime as a parent image
2
  FROM node:18-alpine
3
 
4
+
5
 
6
  # Set the working directory
7
  WORKDIR /app
 
14
  # Copy the rest of the application
15
  COPY . .
16
 
17
+ RUN npm install
18
+
19
  # Expose the port
20
  EXPOSE 3000
21