julien-c HF staff commited on
Commit
6671664
1 Parent(s): eac1f26

one more try

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -3,7 +3,7 @@
3
 
4
  FROM node:19
5
 
6
- WORKDIR /code
7
 
8
  COPY . .
9
 
@@ -11,8 +11,6 @@ RUN npm i
11
 
12
  RUN npm run build
13
 
14
- COPY . .
15
-
16
- ARG PORT=7860
17
 
18
  CMD ["node", "build"]
 
3
 
4
  FROM node:19
5
 
6
+ WORKDIR /app
7
 
8
  COPY . .
9
 
 
11
 
12
  RUN npm run build
13
 
14
+ ENV PORT=7860
 
 
15
 
16
  CMD ["node", "build"]