mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
24 lines
774 B
Markdown
24 lines
774 B
Markdown
# Serverless - AWS Python Docker
|
|
|
|
This project has been generated using the `aws-nodejs-docker` template from the [Serverless framework](https://www.serverless.com/).
|
|
|
|
For detailed instructions, please refer to the [documentation](https://www.serverless.com/framework/docs/providers/aws/).
|
|
|
|
## 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](https://docs.docker.com/get-docker/).
|
|
|
|
In order to deploy your service, run the following command
|
|
|
|
```
|
|
sls deploy
|
|
```
|
|
|
|
## Test your service
|
|
|
|
After successful deployment, you can test your service remotely by using the following command:
|
|
|
|
```
|
|
sls invoke --function hello
|
|
```
|