fix some repos
This commit is contained in:
@ -85,20 +85,20 @@ RUN pip install --upgrade pip setuptools wheel setuptools_scm cython
|
||||
WORKDIR /freq
|
||||
|
||||
# Clone the Freqtrade repository
|
||||
RUN git clone https://github.com/freqtrade/freqtrade.git /freq
|
||||
RUN git clone https://github.com/freqtrade/freqtrade.git /freqtrade
|
||||
# Optionally, switch to the stable branch for novice users
|
||||
ARG FREQTRADE_BRANCH=stable
|
||||
RUN git checkout ${FREQTRADE_BRANCH}
|
||||
|
||||
# Install Ta-lib
|
||||
RUN chmod +x ./build_helpers/install_ta-lib.sh
|
||||
WORKDIR /freq/build_helpers
|
||||
WORKDIR /freqtrade/build_helpers
|
||||
RUN ./install_ta-lib.sh
|
||||
|
||||
WORKDIR /freq
|
||||
WORKDIR /freqtrade
|
||||
RUN python3 -m venv .venv
|
||||
RUN echo "source /freq/.venv/bin/activate" >> ~/.bashrc
|
||||
RUN source /freq/.venv/bin/activate
|
||||
RUN echo "source /freqtrade/.venv/bin/activate" >> ~/.bashrc
|
||||
RUN source /freqtrade/.venv/bin/activate
|
||||
|
||||
RUN python3 -m pip install -r requirements.txt
|
||||
|
||||
@ -106,10 +106,10 @@ RUN python3 -m pip install -r requirements.txt
|
||||
RUN python3 -m pip install -e .
|
||||
|
||||
# Activate the virtual environment (implicitly handled in entrypoint or CMD)
|
||||
RUN echo "source /freq/.venv/bin/activate" >> ~/.bashrc
|
||||
RUN echo "source /freqtrade/.venv/bin/activate" >> ~/.bashrc
|
||||
|
||||
|
||||
RUN pip install --user --no-cache-dir --no-build-isolation -r /freqtrade/tests/requirements.txt
|
||||
RUN pip install --user --no-cache-dir --no-build-isolation -r /share/fqm_bot_nfix5/tests/requirements.txt
|
||||
|
||||
RUN chmod +x /etc/s6-overlay/s6-rc.d/fqmbotnfix5/*
|
||||
|
||||
|
Reference in New Issue
Block a user