Skip to content

Commit

Permalink
Merge pull request #1217 from bbkz/master
Browse files Browse the repository at this point in the history
replace psycopg2-binary with psycopg2
  • Loading branch information
rolandgeider committed Jan 26, 2023
2 parents 0c139aa + d14ee1b commit 27cbaa1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions extras/docker/base/Dockerfile
Expand Up @@ -24,6 +24,7 @@ RUN apt-get update \
python3-pip \
sqlite3 \
wget \
libpq5 \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g yarn sass\
&& locale-gen en_US.UTF-8
Expand Down
5 changes: 3 additions & 2 deletions extras/docker/development/Dockerfile
Expand Up @@ -21,11 +21,12 @@ RUN apt-get update \
python3-dev \
python3-pip \
python3-wheel \
git
git \
libpq-dev

# Build the necessary python wheels
COPY requirements* ./
RUN pip3 wheel --no-cache-dir --wheel-dir /wheels -r requirements_prod.txt
RUN pip3 wheel --no-cache-dir --wheel-dir /wheels -r requirements_docker.txt



Expand Down
11 changes: 11 additions & 0 deletions requirements_docker.txt
@@ -0,0 +1,11 @@
#
# Requirements for wger for production
#

# Regular packages
-r requirements.txt

gunicorn~=20.1
psycopg2==2.9.5
django-redis==5.2.0

0 comments on commit 27cbaa1

Please sign in to comment.