Skip to content

Instantly share code, notes, and snippets.

@tonywangcn
Created February 28, 2017 12:41
Show Gist options
  • Save tonywangcn/e012bd5c5524475f28bfd67d051fc276 to your computer and use it in GitHub Desktop.
Save tonywangcn/e012bd5c5524475f28bfd67d051fc276 to your computer and use it in GitHub Desktop.
FROM python:2.7
ADD requirements.txt /app/requirements.txt
ADD ./test_celery/ /app/
WORKDIR /app/
RUN pip install -r requirements.txt
ENTRYPOINT celery -A test_celery worker --concurrency=20 --loglevel=info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment