updated Dockerfile

This commit is contained in:
Marvin Zhang
2019-02-28 18:57:44 +08:00
parent be887cef22
commit 007752ce3a
19 changed files with 236 additions and 59 deletions

View File

@@ -7,7 +7,7 @@ file_dir = os.path.dirname(os.path.realpath(__file__))
root_path = os.path.abspath(os.path.join(file_dir, '..'))
sys.path.append(root_path)
from config.celery import BROKER_URL
from config import BROKER_URL
if __name__ == '__main__':
p = subprocess.Popen(['celery', 'flower', '-b', BROKER_URL], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)