A simple Flask server that displays a unicode playing card. I made this as part of a little card trick for a friend's birthday.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
246 B

redeploy: build stop
docker run -d --restart unless-stopped -p 80:5000 --name flask-card-trick flask-card-trick:latest
build:
docker build -t flask-card-trick:latest .
stop:
docker stop flask-card-trick && docker rm flask-card-trick || true