pngwn HF staff commited on
Commit
a1a1ad7
1 Parent(s): 9c3d28d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -8,7 +8,6 @@ WORKDIR /app
8
  COPY . .
9
 
10
  RUN npm i
 
11
 
12
- # RUN npm run build
13
-
14
- CMD ["npm", "run", "preview", "--", "--port", "7860"]
 
8
  COPY . .
9
 
10
  RUN npm i
11
+ RUN npm build
12
 
13
+ CMD ["PORT=7860", "node", "build"]