-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Issue Details
The project should have a Dockerfile following specific rules for python projects. For more information take a look here: https://medium.com/geekculture/how-to-dockerize-your-flask-application-2d0487ecefb8
Workaround
I would expect a Dockerfile placed in the root directory of this repo:
simple_api/
- dockerfile
...
An example dockerfile could be:
FROM <python_image>
WORKDIR <working_dir>
COPY <requirements file> <working_dir>
RUN pip install -r <requirements file>
# and more commands
...
After the implementation I'd expect that this command can build an image of the API:
docker build -f Dockerfile -t simple_api:latest .
And that this command can run a container with this image:
docker run --name simple_api -p 3000:3000 simple_api:latest
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Under Review