PrabhuKiranKonda commited on
Commit
4416d33
1 Parent(s): d9f8200

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  FROM python:3.9-slim
2
  WORKDIR /app
3
  COPY requirements.txt ./requirements.txt
 
 
 
4
  # Install uvicorn
5
  RUN pip install uvicorn
6
  RUN pip install postgresql-dev
 
1
  FROM python:3.9-slim
2
  WORKDIR /app
3
  COPY requirements.txt ./requirements.txt
4
+ RUN apt-get update \
5
+ && apt-get -y install libpq-dev gcc \
6
+ && pip install psycopg2
7
  # Install uvicorn
8
  RUN pip install uvicorn
9
  RUN pip install postgresql-dev