Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,11 +5,11 @@ FROM node:latest
|
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Copy the main.js file from the host to the container
|
8 |
-
COPY
|
9 |
|
10 |
# Install any dependencies required by your main.js file (if any)
|
11 |
# For example, if you have a package.json file, you can uncomment the following line
|
12 |
-
|
13 |
|
14 |
# Install dependencies
|
15 |
RUN npm install
|
|
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Copy the main.js file from the host to the container
|
8 |
+
COPY . .
|
9 |
|
10 |
# Install any dependencies required by your main.js file (if any)
|
11 |
# For example, if you have a package.json file, you can uncomment the following line
|
12 |
+
COPY package.json .
|
13 |
|
14 |
# Install dependencies
|
15 |
RUN npm install
|