Skip to content

Instantly share code, notes, and snippets.

@sle-c
Created July 15, 2016 02:57
Show Gist options
  • Save sle-c/2d31f8cba30da5059d7a2a4655b7ad62 to your computer and use it in GitHub Desktop.
Save sle-c/2d31f8cba30da5059d7a2a4655b7ad62 to your computer and use it in GitHub Desktop.
Dockerfile for dropbox babl module
FROM python:2.7.12-alpine
RUN wget -O- "http://s3.amazonaws.com/babl/babl-server_linux_amd64.gz" | gunzip > /bin/babl-server && chmod +x /bin/babl-server
ADD app /data/
RUN ln -s /data/app /bin/app
RUN chmod +x /bin/app
WORKDIR /data
RUN pip install -U pip
RUN pip install dropbox
CMD ["babl-server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment