我有这个简单的docker-compose.yml文件:
version: '3'
services:
web:
build: .
command: python3 manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- "8000:8000"
如何将其转换为Dockerrun.aws.json? 它不起作用:
{
"AWSEBDockerrunVersion": "2",
"Image": {
"Name": "akab/memweb",
"Update": "true"
},
"Ports": [
{
"ContainerPort": "8000"
}
],
"Logging": "/var/log/nginx"
}
我知道此转换器https://github.com/micahhausler/container-transform,但不知道如何使用它。