Skip to content

Delete shell scripts and update Dockerfile entrypoint #1675

Description

@kmcginnes

Parent PRD

#1670

What to build

With all shell script logic now in TypeScript (#1671, #1672, #1673, #1674), delete the shell scripts and wire everything together.

Delete:

  • docker-entrypoint.sh
  • process-environment.sh
  • setup-ssl.sh
  • packages/graph-explorer-proxy-server/docker-startup.sh (dead code, uses pm2)

Dockerfile changes:

  • Change ENTRYPOINT from ["./docker-entrypoint.sh"] to ["node", "packages/graph-explorer-proxy-server/dist/node-server.js"]
  • Remove RUN chmod +x lines for shell scripts
  • Keep openssl in the image (needed for cert generation)
  • Keep the NEPTUNE_NOTEBOOK ARG → ENV propagation (build-time path selection)

Server startup changes:

Documentation:

  • Update docs/development.md references to shell scripts
  • Update docs/references/default-connection.md if needed

Acceptance criteria

  • All four shell scripts deleted
  • Dockerfile ENTRYPOINT is ["node", "packages/graph-explorer-proxy-server/dist/node-server.js"]
  • node-server.ts runs config pipeline → SSL setup → Express app creation
  • Docker image builds and starts successfully (standard mode)
  • Docker image builds and starts successfully (Neptune Notebook mode with --build-arg NEPTUNE_NOTEBOOK=true)
  • Existing CI workflows pass without changes (both Docker build variants)
  • Documentation updated

Blocked by

User stories addressed

  • User story 9
  • User story 11
  • User story 12

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestinfrastructureIssues related to tooling or deployment

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions