AWS-Example/buildspec.yml

25 lines
519 B
YAML
Raw Normal View History

2020-07-22 12:13:09 +00:00
version: 0.2
phases:
install:
commands:
- python -m pip install Flask
build:
commands:
- echo Build started on `date`
- echo Compiling the Python code...
- python test_app.py
post_build:
commands:
- echo Build completed on `date`
artifacts:
files:
- web.py
- appspec.yml
- templates/layout.html
- templates/test.html
- scripts/mkdir.sh
- scripts/start_flask.sh
- scripts/stop_flask1.sh
- scripts/stop_flask.py