Apollo Router in ECS

I’m attempting to use ECS Fargate for hosting Apollo Router, but I’m facing a simple looking issue I can’t debug.

Upon running the instance I get the error “could not create the HTTP server: Permission denied (os error 13)”.

My Docker file looks like this:
FROM Package router · GitHub

ARG APOLLO_KEY
ARG APOLLO_GRAPH_REF

ENV APOLLO_KEY $APOLLO_KEY
ENV APOLLO_GRAPH_REF $APOLLO_GRAPH_REF

EXPOSE 8443
EXPOSE 8080

COPY router.yaml /dist/router.yaml

ENV APOLLO_ROUTER_CONFIG_PATH=“/dist/router.yaml”

ENTRYPOINT [“/dist/router_wrapper.sh”]

Are you able to run the container locally without issue? It sounds like maybe the container is running as the wrong user, or the user doesn’t have some permission it needs. By default, the router image uses a user called “router”.