Beginner Q: converting a `docker run` command to fly equivalent

I have a docker run command that’s doing what I want: docker run --rm -p 9090:9090 -v pwd/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus:v2.35.0

What would be the equivalent configuration / flyctl command to deploy this to fly? Would converting the docker run command to a Dockerfile be a necessary first step, or is there a way to more directly adapt the run command one-liner to a deployed app?

1 Like