Building Docker Container for AWS ECS

Thanks a lot for the great work on ORS. I really appreciate this.

I’d like to host my own instance of ORS on AWS ECS and my problem is related to creating the folder as documented in the docker documentation:

cd docker
# create directories for volumes to mount as local user
mkdir -p conf elevation_cache graphs logs/ors logs/tomcat
docker-compose up -d

The container runs perfectly fine on my local machine but fails on ECS.
The logs tell me that the error is

Caused by: java.lang.RuntimeException: Directory data/graphs/car does not exist and cannot be created to place lock file there: data/graphs/car/gh.lock

Shouldn’t these folders be already present in the container?