Skip to content

Instantly share code, notes, and snippets.

@tonywangcn
Last active February 26, 2017 02:34
Show Gist options
  • Save tonywangcn/d8719efe98cfec7287bbc14ec84a20a5 to your computer and use it in GitHub Desktop.
Save tonywangcn/d8719efe98cfec7287bbc14ec84a20a5 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 --loglevel=info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment