diff --git a/Dockerfile b/Dockerfile index 9ade8aa..b06cb54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.6-alpine -RUN apk add --update postgresql-libs && \ +RUN apk add --update postgresql-libs git && \ apk add --udpate --virtual .build-deps gcc musl-dev postgresql-dev tzdata && \ cp /usr/share/zoneinfo/Europe/Paris /etc/localtime && \ echo "Europe/Paris" > /etc/timezone @@ -11,9 +11,7 @@ VOLUME /app/staticfiles RUN pip3 install pipenv COPY Pipfile Pipfile.lock ./ -RUN pipenv install - -RUN apk del .build-deps +RUN pipenv install && apk del .build-deps COPY . ./ diff --git a/workout/settings.py b/workout/settings.py index e741c31..62a239c 100644 --- a/workout/settings.py +++ b/workout/settings.py @@ -81,7 +81,7 @@ TEMPLATES = [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', -# 'gym.context_processors.git_version', + 'gym.context_processors.git_version', ], }, },