9 lines
275 B
Docker
9 lines
275 B
Docker
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
|
|
ADD stock_info.py /usr/local/lib/python3.12/site-packages/yahoo_fin/
|
|
EXPOSE 8050
|
|
CMD ["python", "./indicators.py"]
|