smgc commited on
Commit
78e1aeb
1 Parent(s): 478ea15

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM huhhz/cursor2api:latest
2
 
3
  RUN apk add --no-cache pcre2
4
 
@@ -16,8 +16,10 @@ RUN mkdir -p /var/log/nginx && \
16
 
17
  WORKDIR /app
18
 
19
- EXPOSE 3000
20
 
21
  RUN chmod 777 -R /app
22
 
23
- CMD ["sh", "-c", "nginx & ./cursor2api"]
 
 
 
1
+ FROM ahhhliu/cursor2api:latest
2
 
3
  RUN apk add --no-cache pcre2
4
 
 
16
 
17
  WORKDIR /app
18
 
19
+ EXPOSE 3001
20
 
21
  RUN chmod 777 -R /app
22
 
23
+ ENTRYPOINT ["sh", "-c", "nginx]
24
+
25
+ CMD ["node" "run.js"]