1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00
Files
source-to-image/examples/nginx-app/run
2015-12-17 16:26:29 +01:00

12 lines
431 B
Bash
Executable File

#!/bin/bash -e
# The run script executes the server that runs your application.
#
# For more information see the documentation:
# https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
#
# We will turn off daemonizing for the nginx process so that the container
# doesn't exit after the process runs.
# We will also specify the default port on which it should listen.
exec /usr/sbin/nginx -g "daemon off;"