A Dockerized version of a Flask Server.
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.

29 lines
766 B

7 months ago
7 months ago
7 months ago
9 months ago
7 months ago
7 months ago
9 months ago
7 months ago
8 months ago
  1. #
  2. This is a dockerized version of a Python3 Flask Server.
  3. ## Volumes
  4. Set the following volumes with the -v tag.
  5. | Volume-Name | Container mount | Description |
  6. | ----------- | --------------- | ------------------------------- |
  7. | app | /flask | directory for flask application |
  8. ## Ports
  9. Set the following volumes with the -p tag.
  10. | Container-Port | Recommed outside port | Protocol | Description |
  11. | -------------- | --------------------- | -------- | ----------- |
  12. | 5000 | 80 | TCP | HTTP port |
  13. ## Example run-command
  14. ` docker run --name flask -v flask:/flask --restart unless-stopped -d -p 80:5000 tiynger/pythonflask `
  15. ## Included Python3 packages
  16. - Flask
  17. - Flask-WTF
  18. - Flask-Mail