You've got your Python API or app running in a Docker container. Great! Are you ready to ship it to that hosted cluster service and head off to production? Not so fast. Have you considered how you'll manage evolving dependencies and addressing security updates over time? Not just for the base OS but for installed packages? How about your pip installed dependencies? Are you running as root? If you don't know, the answer is yes.
<br/>
<br/>
We'll discuss these issues and many more with Itamar Turner-Trauring on this episode.<br/>
<br/>
<strong>Links from the show</strong><br/>
<br/>
<div><b>PyCon Talk</b>: <a href="https://www.youtube.com/watch?v=EC0CSevbt9k" target="_blank" rel="noopener">youtube.com</a><br/>
<b>Docker packaging articles (code TALKPYTHON to get 15% off)</b>: <a href="https://pythonspeed.com/docker/" target="_blank" rel="noopener">pythonspeed.com</a><br/>
<b>PSF+JetBrains 2020 Survey</b>: <a href="https://www.jetbrains.com/lp/python-developers-survey-2020/" target="_blank" rel="noopener">jetbrains.com</a><br/>
<b>Give me back my monolith article</b>: <a href="https://www.craigkerstiens.com/2019/03/13/give-me-back-my-monolith/" target="_blank" rel="noopener">craigkerstiens.com</a><br/>
<b>TestContainers</b>: <a href="https://github.com/testcontainers/testcontainers-python" target="_blank" rel="noopener">github.com</a><br/>
<b>SpaceMacs</b>: <a href="https://www.spacemacs.org/" target="_blank" rel="noopener">spacemacs.org</a><br/>
<b>Rust bindings for Python</b>: <a href="https://github.com/PyO3/PyO3" target="_blank" rel="noopener">github.com</a><br/>
<b>PyOxidizer</b>: <a href="https://pyoxidizer.readthedocs.io/en/stable/index.html" target="_blank" rel="noopener">pyoxidizer.readthedocs.io</a><br/>
<b>ahocorasick_rs: Quickly search for multiple substrings at once</b>: <a href="https://github.com/g-research/ahocorasick_rs/" target="_blank" rel="noopener">github.com</a><br/>
<b>FIL Profiler</b>: <a href="https://pythonspeed.com/fil" target="_blank" rel="noopener">pythonspeed.com</a><br/>
<b>Free ebook covering this process</b>: <a href="https://pythonspeed.com/dockerprocess" target="_blank" rel="noopener">pythonspeed.com</a><br/>
<br/>
<b>Talk Python Twilio + Flask course</b>: <a href="https://talkpython.fm/twilio" target="_blank" rel="noopener">talkpython.fm/twilio</a><br/>
<b>Episode transcripts</b>: <a href="/episodes/transcript/323/best-practices-for-docker-in-production" target="_blank" rel="noopener">talkpython.fm</a><br/></div><br/>
<strong>Sponsors</strong><br/>
<br/>
<a href='https://talkpython.fm/sentry'>Sentry Error Monitoring, Code TALKPYTHON</a><br>
<a href='https://talkpython.fm/linode'>Linode</a><br>
<a href='https://talkpython.fm/assemblyai'>AssemblyAI</a><br>
<a href='https://talkpython.fm/training'>Talk Python Training</a>
↧