ka1kuk commited on
Commit
37e9203
1 Parent(s): c3da0c5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM node:18
2
 
3
  # Create app directory
4
- WORKDIR ./
5
 
6
  # Install app dependencies
7
  # A wildcard is used to ensure both package.json AND package-lock.json are copied
@@ -14,5 +14,6 @@ RUN npm install
14
 
15
  # Bundle app source
16
  COPY . .
 
17
  EXPOSE 7860
18
  CMD [ "node", "app.js" ]
 
1
  FROM node:18
2
 
3
  # Create app directory
4
+ WORKDIR /usr/src/app
5
 
6
  # Install app dependencies
7
  # A wildcard is used to ensure both package.json AND package-lock.json are copied
 
14
 
15
  # Bundle app source
16
  COPY . .
17
+
18
  EXPOSE 7860
19
  CMD [ "node", "app.js" ]