Spaces:
Configuration error
Configuration error
Lee Thanh
commited on
Commit
•
2e8e242
1
Parent(s):
25d702c
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
FROM node:18
|
2 |
|
3 |
-
COPY . /app
|
4 |
-
|
5 |
WORKDIR /app
|
6 |
|
|
|
7 |
RUN npm install
|
|
|
8 |
|
9 |
-
CMD ["node", "index.js"]
|
|
|
1 |
FROM node:18
|
2 |
|
|
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
COPY package.json .
|
6 |
RUN npm install
|
7 |
+
COPY . .
|
8 |
|
9 |
+
CMD ["node", "index.js"]
|