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:
2024-10-06 00:50:04 -07:00
parent a92d6b2804
commit 764fdd356e
6 changed files with 492 additions and 435 deletions

View File

@@ -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