nickjj / build-a-saas-app-with-flask

Learn how to build a production ready web app with Flask and Docker.
https://buildasaasappwithflask.com
MIT License
954 stars 185 forks source link

Create a Dockerfile #22

Closed nickjj closed 9 years ago

nickjj commented 9 years ago

Previously there was no Dockerfile because the app was running inside of virtualenv. This is ok for development because you'll likely want your app code to be on your workstation directly so you can use debuggers and other useful tools.

However in production your app along with celery will be in their own container. Implement a Dockerfile that allows you to build both an app and celery docker image.

nickjj commented 9 years ago

Fixed on master.