현재 python소스로 된 함수를 이미지로 azure 앱서비스로 돌리려 하는데,
요청이 들어오면 mssql에 데이터를 조회해서 가공한 뒤 보내주면 되는데
mssql을 접속해 데이터를 가져오는데 문제가 생겼다.
pyodbc, pymssql 두가지 모듈을 사용해봤는데,
local환경에선 문제가 없는데 azure에 올리면 에러가 발생한다.
뭐가 문제일지 찾아봐야겠다
--------------
알아보는 중 같은 문제를 해결한 image를 발견해서 빌드해봤는데 되는것 같다.
https://github.com/Azure/azure-functions-docker/issues/79
Add python alpine image to public container registry · Issue #79 · Azure/azure-functions-docker
This is probably related to #2. I have seen that we have a alpine Dockerfile for python, but this image is not being built and pushed to the registry. Can this be added to the build pipeline, pleas...
github.com
댓글