smgc commited on
Commit
069ae42
1 Parent(s): 4c1f43e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -26,7 +26,7 @@ RUN apk update \
26
  && apk add --no-cache ca-certificates tzdata \
27
  && update-ca-certificates 2>/dev/null || true
28
 
29
- COPY --from=builder2 /build/one-api /
30
 
31
  WORKDIR /data
32
 
@@ -37,4 +37,4 @@ RUN touch /data/caddy.log && chmod 777 -R /data/caddy.log
37
 
38
  EXPOSE 3001
39
 
40
- CMD ["sh", "-c", "/data/one-api && caddy run --config /data/Caddyfile"]
 
26
  && apk add --no-cache ca-certificates tzdata \
27
  && update-ca-certificates 2>/dev/null || true
28
 
29
+ COPY --from=builder2 /build/one-api /usr/local/bin/one-api
30
 
31
  WORKDIR /data
32
 
 
37
 
38
  EXPOSE 3001
39
 
40
+ CMD ["sh", "-c", "/usr/local/bin/one-api && caddy run --config /data/Caddyfile"]