From d0edfc98aa89f833396e86275df299bcb5cb1185 Mon Sep 17 00:00:00 2001 From: denzel Date: Thu, 12 Nov 2026 02:28:14 -0500 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B5=D1=80=D0=B0=20=D0=BD=D0=B0=20=D0=BE=D0=B1=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- VERSION | 2 +- scripts/deploy.sh | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 205097a..1a7af77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,8 @@ COPY build.py VERSION server.py ./ COPY docs/content.md ./docs/content.md COPY web/index.html web/style.css web/app.js ./web/ -RUN python3 build.py +# Runner checkouts may use umask 077. Make application files readable by USER. +RUN python3 build.py && chmod -R a+rX /app USER 10001:10001 diff --git a/VERSION b/VERSION index 1750564..5a5831a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.6 +0.0.7 diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 6498250..3f9d83f 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -95,7 +95,7 @@ if docker container inspect oktp-docs >/dev/null 2>&1; then fi docker create --name oktp-docs --restart unless-stopped \ - -p 8080:8080 --add-host=host.docker.internal:host-gateway \ + -p 127.0.0.1:8080:8080 --add-host=host.docker.internal:host-gateway \ --env-file "$env_file" -e SITE_BIND=0.0.0.0 \ -e METRICS_URL=http://host.docker.internal:9108/metrics "$image" >/dev/null new_created=true