Skip to content

Commit

Permalink
some tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwehl committed Mar 25, 2022
1 parent 025bdec commit 2be3d79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3-buster

RUN apt update \
&& apt install -y --no-install-recommends uwsgi g++ make python3-psycopg2 python3-ldap3 gettext gcc python3-dev libldap2-dev libsasl2-dev \
&& apt install -y --no-install-recommends uwsgi g++ make python3-ldap3 gettext gcc python3-dev libldap2-dev libsasl2-dev \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -12,8 +12,8 @@ WORKDIR /app
COPY . .

RUN pip install -r requirements-production.txt
RUN pip install psycopg2-binary
RUN pip install psycopg2
RUN pip install psycopg2-binary==2.8.6
RUN pip install psycopg2==2.8.6

RUN mkdir _static && ln -s . _static/static
RUN ln -s /data data
Expand Down

0 comments on commit 2be3d79

Please sign in to comment.