Skip to content

dpujadas/code-challenge-2022-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building the container

Requires two build-time arguments: PORT and WORKERS

docker build -t cc_app:0 --build-arg PORT=80 --build-arg WORKERS=1 .

Running the container

docker run -p HOST_PORT:<PORT> cc_app:0

Accessing the API

curl --request POST
--url http://:<HOST_PORT>/move
--header 'content-type: application/json'
--data '@post.json'

About

A docker container skeleton for Flask micro-services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 78.2%
  • Dockerfile 21.8%