Skip to content

Instantly share code, notes, and snippets.

@mostlygeek
Last active November 24, 2015 21:43
Show Gist options
  • Save mostlygeek/9c8bd57b88a880d82501 to your computer and use it in GitHub Desktop.
Save mostlygeek/9c8bd57b88a880d82501 to your computer and use it in GitHub Desktop.
dockerfile
FROM python:2.7
ENV PYTHONUNBUFFERED 1
WORKDIR /app
EXPOSE 7001
ENTRYPOINT gunicorn -b 0.0.0.0:7001 leaderboard.wsgi
RUN apt-get update && apt-get install -y binutils libproj-dev gdal-bin && apt-get -y clean
COPY ./requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt --no-cache-dir --disable-pip-version-check
COPY . /app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment