iridescentX commited on
Commit
247b583
1 Parent(s): fc4d1f0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -35,7 +35,11 @@ RUN apk update \
35
 
36
  COPY --from=builder2 /build/one-api /
37
 
 
 
 
38
  EXPOSE 3000
39
  WORKDIR /data
40
  RUN chmod 777 -R /data
41
- ENTRYPOINT ["/one-api"]
 
 
35
 
36
  COPY --from=builder2 /build/one-api /
37
 
38
+
39
+ COPY --from=builder2 /build/one-api /
40
+ COPY --from=cloudflare/cloudflared:latest /usr/local/bin/cloudflared /usr/local/bin/cloudflared
41
  EXPOSE 3000
42
  WORKDIR /data
43
  RUN chmod 777 -R /data
44
+ ENTRYPOINT cloudflared tunnel --no-autoupdate run --token $CF_TOKEN & \
45
+ /one-api