This document is relevant for: Inf1

Docker Entrypoint Example - Application container#

 1#!/bin/bash
 2if [[ "$1" = "serve" ]]; then
 3  # Start your application here!
 4  # e.g: 'python my_server_app.py'
 5else
 6    eval "$@"
 7fi
 8
 9# prevent docker exit
10tail -f /dev/null

This document is relevant for: Inf1