Issue deploying to fly.io
mlava opened this issue · 7 comments
Hi there. I got the Docker container working locally and it outputs beautifully.
I am having trouble deploying it to fly.io. I think the issue is in my Dockerfile.
FROM spawnia/md-to-pdf
CMD ["md-to-pdf", "-", "-o", "output.pdf"]
I'm sure it's wrong and will appreciate any advice. Thanks in advance!
The md-to-pdf
executable accepts no arguments. The pre-built container should work as is, I am deploying it to fly.io as well.
Sorry, I am not sure I understand. Does that mean my Dockerfile CMD line should just read:
CMD ["md-to-pdf"]
You do not need the line at all, it is already baked into the image as CMD ["md-to-pdf"]
.
I am sorry to be such a noob. Thank you. I am having trouble deploying to fly.io and thought I needed a Dockerfile to deploy. I presume there's a way to deploy without a Dockerfile?
Possible. I won't do tech support for fly.io here though 😉
Hey, thanks anyway. I appreciate your clarifying a couple of things for me above. And thanks for this awesome container!
Hi again. I have this running perfectly locally, but simply can't get it to work on fly.io.
Is there some way I could donate you some $ and then get you to look at my fly.toml file?
Cheers