Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devfix] Simplify PostgreSQL install #82

Merged
merged 1 commit into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM python:3.8-buster

COPY requirements.txt /requirements.txt
RUN pip --no-cache-dir install -r /requirements.txt \
RUN sed -i 's/psycopg2-binary/psycopg2/g' requirements.txt \
&& pip --no-cache-dir install -r /requirements.txt \
&& rm /requirements.txt

COPY . /app/.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ djangorestframework==3.11.0 # https://github.com/encode/django-rest-framework
epam.indigo==1.4.0b0 # https://github.com/epam/Indigo
gunicorn[gevent,setproctitle]==20.0.4 # https://github.com/benoitc/gunicorn
psycogreen==1.0.2 # https://github.com/psycopg/psycogreen/
psycopg2==2.8.4 # https://github.com/psycopg/psycopg2
psycopg2-binary==2.8.4 # https://github.com/psycopg/psycopg2
redis==3.4.1 # https://github.com/antirez/redis
whitenoise==5.0.1 # https://github.com/evansd/whitenoise

Expand Down