Created
October 18, 2014 15:37
-
-
Save dz1984/e52d3e226e28ec2ca66b to your computer and use it in GitHub Desktop.
Eia_crawler dockerfile.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dockerfile for eia_crawler project | |
FROM ubuntu:precise | |
MAINTAINER Donald Zhan <[email protected]> | |
# Add necessary respnsitory | |
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7 | |
RUN echo 'deb http://archive.scrapy.org/ubuntu scrapy main' > /etc/apt/sources.list.d/scrapy.list | |
# Install scrapy | |
RUN apt-get update -qq | |
RUN apt-get -y install scrapy-0.22 git | |
# Clone eia_crawler project | |
RUN git clone https://github.com/dz1984/eia_crawler.git /home/eia_cralwer | |
# Seting Default Work Directory | |
WORKDIR /home/eia_cralwer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment