patch for missing profiles file
This commit is contained in:
+6
-8
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user