hodgesmr / mastodon_digest

A Python script that aggregates recent popular posts from your Mastodon timeline
BSD 3-Clause "New" or "Revised" License
436 stars 57 forks source link

Fix docker error when copying *.py files #12

Closed farktronix closed 1 year ago

farktronix commented 1 year ago

When I run make build on Ubuntu with Docker 20.10.22 I get this error:

Step 16/19 : COPY templates/ ./templates/
 ---> c411350a9cc3
Step 17/19 : COPY *.py .
When using COPY with more than one source file, the destination must be a directory and end with a /
make: *** [Makefile:27: build] Error 1

Adding a '/' at the end of the COPY command fixes this error for me.

farktronix commented 1 year ago

Thanks for the quick merge and for writing the Mastodon Digest tool!