фикс ранера на обновление
This commit is contained in:
1 parent
55fd998ef2
commit
d0edfc98aa
3 files changed
+4
-3
No files matched your search
+2
-1
@@ -10,7 +10,8 @@ COPY build.py VERSION server.py ./
|
|||||||
COPY docs/content.md ./docs/content.md
|
COPY docs/content.md ./docs/content.md
|
||||||
COPY web/index.html web/style.css web/app.js ./web/
|
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
|
USER 10001:10001
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -95,7 +95,7 @@ if docker container inspect oktp-docs >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
docker create --name oktp-docs --restart unless-stopped \
|
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 \
|
--env-file "$env_file" -e SITE_BIND=0.0.0.0 \
|
||||||
-e METRICS_URL=http://host.docker.internal:9108/metrics "$image" >/dev/null
|
-e METRICS_URL=http://host.docker.internal:9108/metrics "$image" >/dev/null
|
||||||
new_created=true
|
new_created=true
|
||||||
|
|||||||
Reference in new issue
Block a user