From 9ccfa71e2833149f0b78d9a1366133533699d558 Mon Sep 17 00:00:00 2001 From: Valentino Pistis Date: Wed, 23 Sep 2020 23:42:01 +0200 Subject: [PATCH] solved https://github.com/GetTogetherComm/GetTogether/issues/288, added docs api url, solved docker issue when creating container --- Dockerfile | 4 ++-- requirements.txt | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 000e7b7..5c6eda1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,13 @@ FROM python:3-alpine as builder WORKDIR /home/python -RUN apk add --no-cache zlib-dev build-base python-dev jpeg-dev +RUN apk add --no-cache zlib-dev build-base python3-dev jpeg-dev RUN pip install virtualenv RUN virtualenv venv ADD requirements.txt /home/python/ RUN venv/bin/pip install --no-cache-dir -r requirements.txt -RUN virtualenv --relocatable venv/ +#RUN virtualenv --relocatable venv/ ADD . /home/python/ RUN venv/bin/python manage.py migrate diff --git a/requirements.txt b/requirements.txt index ddfc5d3..3641c17 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,8 +2,9 @@ black==19.3b0 certifi==2017.11.5 chardet==3.0.4 click==6.7 +coreapi==2.3.3 decorator==4.2.1 -defusedxml==0.5.0 +defusedxml==0.6.0 dj-database-url==0.4.2 Django==2.0.12 django-appconf==1.0.2 @@ -26,7 +27,7 @@ model-mommy==1.5.1 oauthlib==2.0.6 pbr==4.0.4 pilkit==2.0 -Pillow==6.2.0 +Pillow==6.2.1 pre-commit==1.15.2 PyJWT==1.5.3 python-dateutil==2.7.2