python-escpos/examples/docker-flask
Ricardo Sánchez Alba 66348ccc0a
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>
2023-05-18 15:06:06 +02:00
..
Dockerfile Added example with Docker and Flask (#519) 2023-05-18 15:06:06 +02:00
README.md Added example with Docker and Flask (#519) 2023-05-18 15:06:06 +02:00
app.py Added example with Docker and Flask (#519) 2023-05-18 15:06:06 +02:00
requirements.txt Added example with Docker and Flask (#519) 2023-05-18 15:06:06 +02:00

README.md

Simple example on how to use it inside a web service

docker build . -t escpos-web
docker run --network=host -p 9999:9999 escpos