Update Dockerfile

#1
by OpendAI - opened
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM calciumion/new-api:latest
2
 
3
  RUN apk add --no-cache pcre2
4
 
@@ -16,8 +16,8 @@ RUN mkdir -p /var/log/nginx && \
16
 
17
  WORKDIR /data
18
 
19
- EXPOSE 3001
20
 
21
  RUN chmod 777 -R /data
22
 
23
- ENTRYPOINT ["sh", "-c", "nginx & /one-api"]
 
1
+ FROM vinlic/doubao-free-api:latest
2
 
3
  RUN apk add --no-cache pcre2
4
 
 
16
 
17
  WORKDIR /data
18
 
19
+ EXPOSE 8080
20
 
21
  RUN chmod 777 -R /data
22
 
23
+ ENTRYPOINT ["nginx", "-g", "daemon off;"]