Spaces:
Running
Running
tianlong12
commited on
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -4,11 +4,11 @@ WORKDIR /app
|
|
4 |
|
5 |
COPY package.json .
|
6 |
COPY index.js .
|
7 |
-
COPY start.sh .
|
8 |
|
9 |
RUN npm install
|
10 |
-
RUN chmod +x start.sh
|
11 |
|
12 |
EXPOSE 7860
|
13 |
|
14 |
-
|
|
|
|
|
|
4 |
|
5 |
COPY package.json .
|
6 |
COPY index.js .
|
|
|
7 |
|
8 |
RUN npm install
|
|
|
9 |
|
10 |
EXPOSE 7860
|
11 |
|
12 |
+
ENV PORT=7860
|
13 |
+
|
14 |
+
CMD ["node", "index.js"]
|