This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # At time of writing the python parent image uses Debian 11 | |
| FROM tiangolo/uvicorn-gunicorn:python3.8-slim | |
| COPY requirements.txt . | |
| # Setup dependencies for pyodbc and weasyprint (cairo and pango libs) | |
| RUN \ | |
| apt-get update && \ | |
| apt-get install -y curl build-essential unixodbc-dev g++ apt-transport-https libcairo2 libpango-1.0-0 libpangocairo-1.0-0 && \ | |
| # ADD THE KEY FROM MICROSOFT |