Revision 4579d03bb86056a6db91a87b676cd4616085b6df authored by dependabot[bot] on 23 May 2023, 06:58:23 UTC, committed by GitHub on 23 May 2023, 06:58:23 UTC
Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
1 parent 30ab571
Raw File
Dockerfile
FROM python:3.11-slim-buster

WORKDIR pypfopt
COPY requirements.txt .

RUN pip install --upgrade pip \
    pip install yfinance && \
    pip install -r requirements.txt

COPY . .

RUN cd cookbook

# Usage examples:
#
# Build
# from root of repo:
# docker build -f docker/Dockerfile . -t pypfopt
#
# Run
# iPython interpreter:
# docker run -it pypfopt poetry run ipython
# Jupyter notebook server:
# docker run -it -p 8888:8888 pypfopt poetry run jupyter notebook --allow-root --no-browser --ip 0.0.0.0
# click on http://127.0.0.1:8888/?token=xxx
# Pytest
# docker run -t pypfopt poetry run pytest
# Bash
# docker run -it pypfopt bash
back to top