Skip to content
Go to file
Cannot retrieve contributors at this time
30 lines (22 sloc) 758 Bytes
# Create a container from Ubuntu.
FROM ubuntu:14.04
# Credits.
MAINTAINER Guido Barbaglia ""
# Update Ubuntu repositories.
RUN apt-get update
# Install Python.
RUN apt-get install -y -q build-essential python-gdal python-simplejson
RUN apt-get install -y python python-pip wget
RUN apt-get install -y python-dev
# Create a working directory.
RUN mkdir deployment
# Install VirtualEnv.
RUN pip install virtualenv
# Add requirements file.
ADD requirements.txt /deployment/requirements.txt
# Add the script that will start everything.
ADD /deployment/
# Run VirtualEnv.
RUN virtualenv /deployment/env/
RUN /deployment/env/bin/pip install wheel
RUN /deployment/env/bin/pip install -r /deployment/requirements.txt
You can’t perform that action at this time.