My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Jonah Lawrence

5 likes

·

12.3K reads

1 comment

Mike Rezl
Mike Rezl
Nov 30, 2022

Great instructions! Unfortunately, they're not working for me at the moment.

I had to run:

flyctl launch --name --myappname --region sea --org myorgname

to actually launch the app successfully. Then when I try to deploy it, I get this error:

==> Building image with Docker --> docker host: 20.10.12 linux x86_64 Sending build context to Docker daemon 2.092kB Error failed to fetch an image or build from source: error building: Error response from daemon: invalid reference format

Not entirely sure, but I'm assuming there's something wrong with the Dockfile. Here's all that's in mine:

FROM python:3.10 WORKDIR /bot COPY requirements.txt /bot/ RUN pip install -r requirements.txt COPY . /bot CMD python main.py

·