chore(agent): move docker entrypoint script to scripts/

Relocate agent-entrypoint.sh from docker/ to scripts/ so operational
shell scripts live in one directory and update Dockerfile.agent copy path.
This commit is contained in:
ryan
2026-06-21 14:26:25 +08:00
parent 40291136b7
commit 9d56f02e64
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ ENV OPENFLARE_OPENRESTY_PATH=openresty \
OPENFLARE_DATA_DIR=/data
COPY --from=builder /build/bin/openflare-agent /usr/local/bin/openflare-agent
COPY docker/agent-entrypoint.sh /usr/local/bin/openflare-agent-entrypoint.sh
COPY scripts/agent-entrypoint.sh /usr/local/bin/openflare-agent-entrypoint.sh
RUN chmod +x /usr/local/bin/openflare-agent-entrypoint.sh
EXPOSE 80 443 18081
-1
View File
@@ -3,7 +3,6 @@ set -eu
RUNTIME_USER="openflare"
AGENT_BIN="/usr/local/bin/openflare-agent"
OPENRESTY_BIN="/usr/local/openresty/nginx/sbin/nginx"
fix_runtime_ownership() {
for target in /data /etc/openflare; do