Skip to content

jmiumv/RatingsService

Repository files navigation

RatingsService

  • This application is part of the FargateExample. Please refer to the readme of the FargateExample to get an overview of application architecture and other instructions. Later on, you will be redirected to this readme to build docker images to be pushed to AWS ECR repository.
  • See DockerFile for more details on how the container is initialized.

Docker Build

Build Docker Images

  • If using intel cpu: Run docker build -t ratings-service .
  • If using apple silicon cpu: Run docker buildx build --platform=linux/amd64 -t ratings-service .

Tag Docker Images

docker tag ratings-service:latest <aws_acc_id>.dkr.ecr.us-west-2.amazonaws.com/ratings-service:latest

Testing Images Locally

  • Run the following:
docker run -p8080:80 ratings-service

OR

docker run --platform linux/amd64 -p8080:80 ratings-service
  • Service should be accessible via: localhost:8080/api/ratings

About

Simple ExpressJs service. Part of AWS Fargate demo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published