diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de13a43..e7742e3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,6 @@ py38-django31: stage: test image: python:3-alpine before_script: - - apk add gcc libc-dev libffi-dev postgresql-dev # Add texlive - pip install tox --no-cache-dir script: tox -e py38-django31 @@ -14,6 +13,5 @@ linters: stage: quality-assurance image: python:3-alpine before_script: - - apk add gcc libc-dev libffi-dev postgresql-dev # Add texlive - pip install tox --no-cache-dir script: tox -e linters diff --git a/Dockerfile b/Dockerfile index 3f92665..0cdc29a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apk add --no-cache bash RUN mkdir /code WORKDIR /code COPY requirements.txt /code/requirements.txt -RUN pip install -r requirements.txt --no-cache-dir +RUN pip install -r requirements.txt psycopg2-binary --no-cache-dir COPY . /code/ diff --git a/requirements.txt b/requirements.txt index ce7709d..adbb301 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,5 @@ django-polymorphic django-tables2 djangorestframework django-rest-polymorphic -psycopg2-binary ptpython gunicorn \ No newline at end of file