Orbs Network
  • Overview
    • What is Orbs?
    • Layer 3 Protocol
    • Running on EVM and TON
    • Enhanced Execution
    • L3 for Advanced Trading
    • Network Diagram
    • White Papers and Spec
  • Orbs Lambda
    • What is Orbs Lambda?
    • Network Diagram
    • Example Use Cases
    • Step by Step Overview
      • Development Requirements
      • Select Unique ID
      • Project Template
      • index.js Implementation
        • Execution Environment
        • Allowed Packages
        • Supported Networks
        • Execution Triggers
        • Sending Transactions
      • Testing Locally
      • Deploying to Production
      • Analyzing Execution
  • Orbs VM
    • What is Orbs VM?
    • Network Diagram
    • Example Use Cases
    • Step by Step Overview
      • Development Requirements
      • Select Unique ID
      • Docker Image Implementation
        • Execution Environment
        • Working Directory
        • Entry Point
        • Health Check
        • status.json
      • Testing Locally
      • Deploying to Production
      • Analyzing Execution
  • Powered by Orbs
    • Liquidity Hub
      • Integration Spec
    • Perpetual Hub
    • dTWAP Protocol
      • Integration Spec
      • Network Diagram
      • dTWAP Tutorial
      • FAQ
    • dLIMIT Protocol
      • Integration Spec
      • dLIMIT Tutorial
      • FAQ
  • Community Projects
    • Notification Protocol
      • Integrate a New Project
      • Network Diagram
    • TON Access
      • Network Diagram
    • TON Vote
Powered by GitBook
On this page
  1. Orbs VM
  2. Step by Step Overview
  3. Docker Image Implementation

Entry Point

The executable inside your container that is launched by the orchestrator is /opt/orbs/service - this file must exist and must be executable. Failing to provide this file will prevent your container from starting.

Shell script example

This example will use the shell script entrypoint.sh to run the primary process of your service. Let's assume the service is implemented with Node.js and starts with the command npm start.

Create the file entrypoint.sh in the root of the image with the following content:

#!/bin/sh
npm start

Then, in your Dockerfile, copy this script over the required name:

# install entry point executable
COPY ./entrypoint.sh /opt/orbs/service
PreviousWorking DirectoryNextHealth Check

Last updated 2 years ago