summaryrefslogtreecommitdiffstats
path: root/res/docker/docker-entrypoint.sh
blob: a1e7683bcb273eae1a5a937c7f81e6a81099d8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Configure service based on docker environment variables
python vfc/gvnfm/vnfres/res/res/pub/config/config.py
cat vfc/gvnfm/vnfres/res/res/pub/config/config.py

# microservice-specific one-time initialization
vfc/gvnfm/vnfres/res/docker/instance_init.sh

date > init.log

# Start the microservice
vfc/gvnfm/vnfres/res/docker/instance_run.sh