From 5b469f806b5890204621c51dbd6a8c1cf01becfd Mon Sep 17 00:00:00 2001 From: subbutony11 <105411669+subbutony11@users.noreply.github.com> Date: Sat, 11 Jun 2022 23:42:03 +0530 Subject: [PATCH] Create appspec.yml --- appspec.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 appspec.yml diff --git a/appspec.yml b/appspec.yml new file mode 100644 index 0000000..7f0cdf9 --- /dev/null +++ b/appspec.yml @@ -0,0 +1,18 @@ +version: 0.0 +os: linux +files: + - source: /index.html + destination: /var/www/html/ +hooks: + BeforeInstall: + - location: scripts/install_dependencies + timeout: 300 + runas: root + - location: scripts/start_server + timeout: 300 + runas: root + ApplicationStop: + - location: scripts/stop_server + timeout: 300 + runas: root +