added image name/tag to build

This commit is contained in:
Fred Warren 2021-03-10 11:52:41 -08:00
parent 18f59d2e04
commit affb5a623a

View File

@ -3,6 +3,7 @@ version: "2"
services: services:
python-app: python-app:
build: . build: .
image: python-app:3.9-alpine
volumes: volumes:
- ./app/:/app - ./app/:/app
entrypoint: [python, script.py] entrypoint: [python, script.py]