hotfix for telemetry hotfix for profiles config
This commit is contained in:
+5
-4
@@ -4,7 +4,7 @@
|
||||
# ============================================================================
|
||||
# Stage 1: Rust Builder
|
||||
# ============================================================================
|
||||
FROM rust:1.90-slim-bookworm AS rust-builder
|
||||
FROM rust:1.91-slim-bookworm AS rust-builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
@@ -110,7 +110,8 @@ COPY --from=node-builder /build/node_modules ./node_modules
|
||||
# Copy runtime scripts
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
COPY docker/init-config.sh /init-config.sh
|
||||
RUN chmod +x /entrypoint.sh /init-config.sh
|
||||
COPY docker/restricted-shell.sh /usr/local/bin/restricted-shell.sh
|
||||
RUN chmod +x /entrypoint.sh /init-config.sh /usr/local/bin/restricted-shell.sh
|
||||
|
||||
# Expose ports
|
||||
# 8082 - webterm HTTP server
|
||||
@@ -124,5 +125,5 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
# Set entrypoint (init-config.sh runs as root, copies configs, then switches to socktop user)
|
||||
ENTRYPOINT ["/init-config.sh"]
|
||||
|
||||
# Default command - pass through init-config.sh to entrypoint.sh to webterm-server
|
||||
CMD ["/entrypoint.sh", "webterm-server", "--host", "0.0.0.0", "--port", "8082"]
|
||||
# Default command - use restricted shell that only allows socktop commands
|
||||
CMD ["/entrypoint.sh", "webterm-server", "--host", "0.0.0.0", "--port", "8082", "--command", "/usr/local/bin/restricted-shell.sh"]
|
||||
|
||||
Reference in New Issue
Block a user