Created
January 4, 2020 13:07
-
-
Save howtoautomateinth/de046216e992d906652dd305aa571366 to your computer and use it in GitHub Desktop.
python and docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: python | |
services: | |
- docker | |
# command to install dependencies | |
install: | |
- pip install -r requirements.txt | |
- docker build -t simpleapp . | |
- docker run -p 5000:5000 -d --name simpleapp simpleapp | |
script: | |
- docker ps | grep -q simpleapp | |
- pytest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment