Skip to content

Containerize your microservice using Docker #6

Description

@itxcrusher

As a developer
I need to containerize the microservice using Docker
So that I can deploy it consistently across different environments.

Details and Assumptions

* Docker will provide a lightweight and portable way to package the microservice.
* Create a `Dockerfile` for repeatable builds
* Use a `Python:3.9-slim` image as the base
* It must install all of the Python requirements
* It should not run as `root`
* It should use the `gunicorn` wsgi server as an entry point

Acceptance Criteria

gherkin 
Given the source code of the microservice
When I build a Docker container for the microservice
Then the container should be successfully created and runnable.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions