vikarshana commited on
Commit
ddeafa9
·
verified ·
1 Parent(s): 63196f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:lts
2
 
3
  USER root
4
  # Create app directory and set permissions
@@ -32,8 +32,7 @@ RUN chmod -R 777 /app
32
  # Install dependencies
33
  RUN npm install node-cache
34
 
35
- RUN npm install || yarn install
36
- RUN yarn install --network-concurrency 1
37
  EXPOSE 7860
38
  ENV NODE_ENV=production
39
  CMD ["npm", "start"]
 
1
+ FROM node:lts-buster
2
 
3
  USER root
4
  # Create app directory and set permissions
 
32
  # Install dependencies
33
  RUN npm install node-cache
34
 
35
+ RUN npm install
 
36
  EXPOSE 7860
37
  ENV NODE_ENV=production
38
  CMD ["npm", "start"]