1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-10-23 09:30:00 +00:00

Added example with Docker and Flask (#519)

* Added example with Docker and Flask

* set flask debug flag to False

* new line at the end of file

* format with black

---------

Co-authored-by: Ricardo Sanchez Alba <r2sanchezalba@gmail.com>
This commit is contained in:
Ricardo Sánchez Alba
2023-05-18 07:06:06 -06:00
committed by GitHub
parent 2b826aa834
commit 66348ccc0a
4 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
Simple example on how to use it inside a web service
```
docker build . -t escpos-web
docker run --network=host -p 9999:9999 escpos
```