This repository has been archived by the owner on May 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7007093
commit e5c49c0
Showing
3 changed files
with
32 additions
and
25 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
FROM python:2.7 | ||
ENV PYTHONUNBUFFERED 1 | ||
ENV DOCKER_BUILD 1 | ||
WORKDIR /leaderboard | ||
EXPOSE 7001 | ||
RUN apt-get update && apt-get install -y binutils libproj-dev gdal-bin && apt-get -y clean | ||
COPY ./requirements.txt ./ | ||
RUN pip install -r requirements.txt --no-cache-dir --disable-pip-version-check | ||
COPY . /leaderboard | ||
RUN mkdir /leaderboard/leaderboard/served/ && mkdir /leaderboard/leaderboard/served/static/ && python manage.py collectstatic -c --noinput | ||
RUN mkdir /leaderboard/leaderboard/served/;mkdir /leaderboard/leaderboard/served/static/;python manage.py collectstatic -c --noinput |
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
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