fix some repos
This commit is contained in:
		@@ -85,20 +85,20 @@ RUN pip install --upgrade pip setuptools wheel setuptools_scm cython
 | 
				
			|||||||
WORKDIR /freq
 | 
					WORKDIR /freq
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Clone the Freqtrade repository
 | 
					# 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
 | 
					# Optionally, switch to the stable branch for novice users
 | 
				
			||||||
ARG FREQTRADE_BRANCH=stable
 | 
					ARG FREQTRADE_BRANCH=stable
 | 
				
			||||||
RUN git checkout ${FREQTRADE_BRANCH}
 | 
					RUN git checkout ${FREQTRADE_BRANCH}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install Ta-lib
 | 
					# Install Ta-lib
 | 
				
			||||||
RUN chmod +x ./build_helpers/install_ta-lib.sh
 | 
					RUN chmod +x ./build_helpers/install_ta-lib.sh
 | 
				
			||||||
WORKDIR /freq/build_helpers
 | 
					WORKDIR /freqtrade/build_helpers
 | 
				
			||||||
RUN ./install_ta-lib.sh
 | 
					RUN ./install_ta-lib.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /freq
 | 
					WORKDIR /freqtrade
 | 
				
			||||||
RUN python3 -m venv .venv
 | 
					RUN python3 -m venv .venv
 | 
				
			||||||
RUN echo "source /freq/.venv/bin/activate" >> ~/.bashrc
 | 
					RUN echo "source /freqtrade/.venv/bin/activate" >> ~/.bashrc
 | 
				
			||||||
RUN source /freq/.venv/bin/activate
 | 
					RUN source /freqtrade/.venv/bin/activate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN python3 -m pip install -r requirements.txt
 | 
					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 .
 | 
					RUN python3 -m pip install -e .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Activate the virtual environment (implicitly handled in entrypoint or CMD)
 | 
					# 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/*
 | 
					RUN chmod +x /etc/s6-overlay/s6-rc.d/fqmbotnfix5/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,10 +17,6 @@ host_network: true
 | 
				
			|||||||
host_pid: true
 | 
					host_pid: true
 | 
				
			||||||
map:
 | 
					map:
 | 
				
			||||||
  - share:rw
 | 
					  - share:rw
 | 
				
			||||||
  - /var/run/docker.sock:/var/run/docker.sock:rw
 | 
					 | 
				
			||||||
  - /share/fqm_bot_nfix5/user_data:/freqtrade/user_data
 | 
					 | 
				
			||||||
  - /share/fqm_bot_nfix5/user_data/data:/freqtrade/user_data/data
 | 
					 | 
				
			||||||
  - /share/fqm_bot_nfix5/configs:/freqtrade/configs
 | 
					 | 
				
			||||||
ports:
 | 
					ports:
 | 
				
			||||||
  8989/tcp: 8989
 | 
					  8989/tcp: 8989
 | 
				
			||||||
options:
 | 
					options:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,4 +53,4 @@ export "FREQTRADE__STRATEGY=$(bashio::config 'strategy')"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
bashio::log.info "starting the bot ..."
 | 
					bashio::log.info "starting the bot ..."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
exec /freqtrade/.venv/bin/freqtrade trade --db-url sqlite:////freqtrade/user_data/${FREQTRADE__BOT_NAME:-Example_Test_Account}_${FREQTRADE__EXCHANGE__NAME:-binance}_${FREQTRADE__TRADING_MODE:-spot}-tradesv3.sqlite --log-file /freqtrade/user_data/logs/${FREQTRADE__BOT_NAME:-Example_Test_Account}-${FREQTRADE__EXCHANGE__NAME:-binance}-${FREQTRADE__STRATEGY:-NostalgiaForInfinityX5}-${FREQTRADE__TRADING_MODE:-spot}.log
 | 
					exec /freqtrade/.venv/bin/freqtrade trade --db-url sqlite:////share/fqm_bot_nfix5/user_data/${FREQTRADE__BOT_NAME:-Example_Test_Account}_${FREQTRADE__EXCHANGE__NAME:-binance}_${FREQTRADE__TRADING_MODE:-spot}-tradesv3.sqlite --log-file /share/fqm_bot_nfix5/user_data/logs/${FREQTRADE__BOT_NAME:-Example_Test_Account}-${FREQTRADE__EXCHANGE__NAME:-binance}-${FREQTRADE__STRATEGY:-NostalgiaForInfinityX5}-${FREQTRADE__TRADING_MODE:-spot}.log
 | 
				
			||||||
		Reference in New Issue
	
	Block a user