atikur-rabbi commited on
Commit
7084e65
1 Parent(s): 6c48481
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.js +2 -2
Dockerfile CHANGED
@@ -14,7 +14,7 @@ WORKDIR /home/huggingface/easy-diffusion
14
  # Install app dependencies
15
  # A wildcard is used to ensure both package.json AND package-lock.json are copied
16
  # where available (npm@5+)
17
- COPY package*.json ./
18
 
19
  RUN npm install
20
  # If you are building your code for production
 
14
  # Install app dependencies
15
  # A wildcard is used to ensure both package.json AND package-lock.json are copied
16
  # where available (npm@5+)
17
+ # COPY package*.json ./
18
 
19
  RUN npm install
20
  # If you are building your code for production
app.js CHANGED
@@ -24,6 +24,6 @@ router.get("/sharks",function(req,res){
24
  app.use(express.static(path));
25
  app.use("/", router);
26
 
27
- app.listen(8080, function () {
28
- console.log('Example app listening on port 8080!')
29
  })
 
24
  app.use(express.static(path));
25
  app.use("/", router);
26
 
27
+ app.listen(PORT, function () {
28
+ console.log(`Example app listening on port 8080! ${PORT}`)
29
  })