diff --git a/.dockerignore b/.dockerignore deleted file mode 100755 index ab5e8767..00000000 --- a/.dockerignore +++ /dev/null @@ -1,11 +0,0 @@ -# Environments -.env -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ - -*/__pycache__ -*/*.pyc \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile deleted file mode 100644 index 83663950..00000000 --- a/docker/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM python:3.11-slim-buster - -WORKDIR pypfopt -COPY requirements.txt . - -RUN pip install --upgrade pip \ - pip install yfinance && \ - pip install poetry \ - pip install ipython \ - pip install jupyter \ - pip install pytest \ - 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