Change Dockerfile so that psycopg2 can be installed correctly using pip. (hint: it requires libpq-dev and gcc.)
Add mutual fund capability modulize project structure complete
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM python:alpine3.19
|
||||
FROM python:3.12-slim
|
||||
RUN apt-get update && apt-get install -y libpq-dev gcc
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN pip install -U pip && pip install -r requirements.txt
|
||||
|
Reference in New Issue
Block a user