patch for missing profiles file
Build and Deploy to K3s / test (push) Successful in 2m3s
Build and Deploy to K3s / lint (push) Successful in 1m31s
Build and Deploy to K3s / build-and-push (push) Successful in 5m17s
Build and Deploy to K3s / deploy (push) Failing after 10m8s

This commit is contained in:
2025-11-30 02:33:43 -08:00
parent d554574e30
commit d3f95b8c52
5 changed files with 281 additions and 10 deletions
+6 -8
View File
@@ -109,7 +109,8 @@ COPY --from=node-builder /build/node_modules ./node_modules
# Copy runtime scripts
COPY docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY docker/init-config.sh /init-config.sh
RUN chmod +x /entrypoint.sh /init-config.sh
# Expose ports
# 8082 - webterm HTTP server
@@ -120,11 +121,8 @@ EXPOSE 8082 3001
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8082/ || exit 1
# Run as socktop user
USER socktop
# Set entrypoint (init-config.sh runs as root, copies configs, then switches to socktop user)
ENTRYPOINT ["/init-config.sh"]
# Set entrypoint
ENTRYPOINT ["/entrypoint.sh"]
# Default command - run webterm server
CMD ["webterm-server", "--host", "0.0.0.0", "--port", "8082"]
# 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"]