Spaces:
Runtime error
Runtime error
Yash Sachdeva
commited on
Commit
·
e36eb52
1
Parent(s):
14cc7d6
added docker file
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM python:3.9-slim
|
2 |
WORKDIR /app
|
3 |
COPY requirements.txt ./requirements.txt
|
4 |
-
RUN apt-get update
|
5 |
RUN pip install uvicorn
|
6 |
RUN pip install -r requirements.txt
|
7 |
COPY . /app
|
|
|
1 |
FROM python:3.9-slim
|
2 |
WORKDIR /app
|
3 |
COPY requirements.txt ./requirements.txt
|
4 |
+
RUN apt-get update && apt-get -y install libpq-dev gcc && pip install psycopg2
|
5 |
RUN pip install uvicorn
|
6 |
RUN pip install -r requirements.txt
|
7 |
COPY . /app
|