Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
# 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