diff --git a/.gitignore b/.gitignore index 8472c4e7..76bfe9af 100644 --- a/.gitignore +++ b/.gitignore @@ -134,3 +134,4 @@ temp.* discours.key discours.crt +Pipfile.lock \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b3e9d136..5ccc91a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,9 @@ RUN /usr/local/bin/python -m pip install --upgrade pip WORKDIR /usr/src/app -COPY requirements.txt ./ +COPY Pipfile ./ -RUN set -ex && pip install -r requirements.txt +RUN set -ex && pip install COPY . . diff --git a/Pipfile b/Pipfile index c2dc03af..a9e12850 100644 --- a/Pipfile +++ b/Pipfile @@ -14,7 +14,7 @@ PyJWT = "*" SQLAlchemy = "*" itsdangerous = "*" httpx = "*" -psycopg2 = "*" +psycopg2-binary = "*" Authlib = "*" [dev-packages] diff --git a/create_crt.sh b/create_crt.sh old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt index 5bfdb9f5..75e48073 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,4 +9,4 @@ passlib itsdangerous authlib httpx -psycopg2 \ No newline at end of file +psycopg2-binary \ No newline at end of file