diff --git a/Dockerfile b/Dockerfile index 86ad510..f6d36f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,5 +9,5 @@ RUN pip install numpy && pip install --upgrade cython \ && cd /qlib/ && pip install . && pip install -r scripts/data_collector/yahoo/requirements.txt COPY ./requirements.txt /tmp/requirements.txt RUN pip install -r /tmp/requirements.txt -COPY . /app +COPY . /investment_data/ WORKDIR /investment_data/ \ No newline at end of file diff --git a/README.md b/README.md index 52011e9..7bd7818 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Follow https://github.com/dolthub/dolt ## Export to qlib format ``` -docker run -v /:/output --it --rm chenditc/investment_data bash dump_qlib_bin.sh && cp ./qlib_bin.tar.gz /output/ +docker run -v /:/output -it --rm chenditc/investment_data bash dump_qlib_bin.sh && cp ./qlib_bin.tar.gz /output/ ``` ## Daily Update @@ -18,7 +18,7 @@ bash daily_update.sh ## Daily update and output ``` -docker run -v /:/output --it --rm chenditc/investment_data bash daily_update.sh && bash dump_qlib_bin.sh && cp ./qlib_bin.tar.gz /output/ +docker run -v /:/output -it --rm chenditc/investment_data bash daily_update.sh && bash dump_qlib_bin.sh && cp ./qlib_bin.tar.gz /output/ ```