Sign in
Log inSign up
Jonah Lawrence

5 likes

·

13.1K 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

·