Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add Postgres dependencies to docker image

Scott Peshak63f75f572a06
diff --git a/extras/docker/apache/Dockerfile b/extras/docker/apache/Dockerfile
index a300613e4..cd4aae05a 100644
--- a/extras/docker/apache/Dockerfile
+++ b/extras/docker/apache/Dockerfile
@@ -22,12 +22,7 @@ ENV LC_ALL en_US.UTF-8
# Install dependencies
RUN apt-get update \
- && apt-get install --no-install-recommends -y \
- apache2 \
- cron \
- libapache2-mod-wsgi-py3 \
- libpq-dev \
- && rm -rf /var/lib/apt/lists/*
+ && apt-get install -y apache2 libapache2-mod-wsgi-py3 libpq-dev
# Configure apache
ADD wger.conf /etc/apache2/sites-available/
diff --git a/requirements.txt b/requirements.txt
index e2521e2b2..25cedc2db 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -20,6 +20,7 @@ reportlab>=3.3,<3.4
requests
setuptools>=18.5
sphinx
+psycopg2
# Production
psycopg2