Update Dockerfile
Browse files- 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", "/
|
|
|
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"]
|