cookiecutter-django/{{cookiecutter.project_slug}}/compose/local/django/celery/worker/start
Trung Dong Huynh b22045bcd4 Replaced base Docker image with debian:buster-slim (#2373)
Using system Python 3 distribution (3.7.3) in order to allow the use of Debian packages for numpy, scipy, etc. without the need of building them or installing build dependencies.

Changed `#!/bin/sh` in shell scripts to `#!/bin/bash` to make `set -o pipefail` work.
2020-01-07 11:06:31 +00:00

8 lines
88 B
Bash

#!/bin/bash
set -o errexit
set -o nounset
celery -A config.celery_app worker -l INFO