Open NQTin opened 3 weeks ago
Title: Containerize your microservice using Docker
As a developer I need to containerize my microservice using Docker So that I can deploy it easily with all of its dependencies
Dockerfile
Python:3.9-slim
root
gunicorn
Given the Docker image named accounts has been created When I use docker run accounts Then I should see the accounts service running in Docker
docker run accounts
Title: Containerize your microservice using Docker
As a developer I need to containerize my microservice using Docker So that I can deploy it easily with all of its dependencies
Assumptions
Dockerfile
for repeatable buildsPython:3.9-slim
image as the baseroot
gunicorn
wsgi server as an entry pointAcceptance Criteria
Given the Docker image named accounts has been created When I use
docker run accounts
Then I should see the accounts service running in Docker