update Makefile

This commit is contained in:
Daniel Langbein 2023-01-07 18:47:27 +01:00
parent ded58add59
commit 56ea7c3a85

View File

@ -26,10 +26,15 @@ dev: requirements.txt ## Starts a development webserver.
export PYTHONPATH="${PYTHONPATH}:src"
python3 src/mastodon_toot_follower/server/flask_server.py
.PHONY: publish-docker-image
publish-docker-image: docker-image
sudo docker push p1st/mastodon-toot-follower:latest
sudo docker pushrm p1st/mastodon-toot-follower --file README.md --short "Follow Toots on Mastodon - don't miss new replies or edits."
.PHONY: docker-image
docker-image: ## Builds the mastodon-toot-follower:latest Docker image.
sudo docker build --pull \
--tag mastodon-toot-follower:latest .
--tag p1st/mastodon-toot-follower:latest .
.PHONY: cli
cli: requirements.txt ## Runs the commandline version.