- Serverless Framework
- Docker
Run the following command in the root directory to deploy.
sls deploy -v --stage <stage_name>
Note: Replace the stage variable to your stage name.
The service runs on AWS Fargate and requires the service to be available as a Docker image.
This repo has a Dockerfile in the root folder, which builds the image.
Use the following commands to build the image and push to the vfan docker hub repo.
docker build -t <Docker_Repo>/<Image_Name> .
docker push <Docker_Repo>/<Image_Name>
Next, update the docker image name in the Fargate resource file.
See here for design details.