Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

murichazuke/mecab-function

Repository files navigation

Serverless - AWS Python Docker

This project has been generated using the aws-nodejs-docker template from the Serverless framework.

For detailed instructions, please refer to the documentation.

Deployment instructions

Requirements: Docker. In order to build images locally and push them to ECR, you need to have Docker installed on your local machine. Please refer to official documentation.

In order to deploy your service, run the following command

sls deploy

Run your service

After successful deployment, you can test your service remotely by using the following command:

sls invoke --function hello

Run the function locally

$ docker-compose exec workspace python app.py --output=json --data='{"body": "中居正広のこおりつけ"}'

Run linters and unittests

$ docker-compose exec workspace poetry run tox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published