INDEX

stop_command

Field Type Required
stop_command string No

The purpose of this command is to give application a chance to do processing before its Docker container is stopped. Stop command can not be empty but other than that Spaceify core doesn't expect the command to be anything specific. It's the application developers responsibility to make sure that the command is valid and can be run by the operating system in the Docker container.

NOTICE The current working directory where the command is executed is the main application/ directory.

Example Description
node cleanup.js Run a Node.js program.
Close
copyright © Spaceify.org 2014