Skip to content

markoshlima/rest-python-codepipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#rest-python-codepipeline Project to test AWS CodePipeline and CodeBuild publishing a project into ECS

Pre-Requisites
Python 3.7.10
Flask 2.0.3
pip 20.2.2
Docker 20.10.7

Install
pip install pipenv
pipenv --three
pipenv install flask
pipenv install marshmallow

RUN
./bootstrap.sh

Build docker container
docker build . -t markoshlima/person
docker build . -t markoshlima/person --platform linux/amd64 //EKS

Start docker container
docker run -it -p 8080:8080 -d markoshlima/person

Logs docker container
docker logs [img]

Inspect docker image
docker inspect [img]
docker exec -it [img] /bin/bash

Stop docker container
docker stop [img]

Releases

No releases published

Packages

No packages published