2023-06-05 18:30:46 +00:00
|
|
|
FROM freqtradeorg/freqtrade:develop_freqairl
|
2020-09-20 12:35:08 +00:00
|
|
|
|
2021-05-24 15:01:53 +00:00
|
|
|
USER root
|
2020-09-20 12:35:08 +00:00
|
|
|
# Install dependencies
|
|
|
|
COPY requirements-dev.txt /freqtrade/
|
2021-05-24 15:01:53 +00:00
|
|
|
|
2020-09-20 12:35:08 +00:00
|
|
|
RUN apt-get update \
|
2023-06-05 18:30:46 +00:00
|
|
|
&& apt-get -y install --no-install-recommends apt-utils dialog \
|
|
|
|
&& apt-get -y install --no-install-recommends git sudo vim build-essential \
|
2020-09-20 12:35:08 +00:00
|
|
|
&& apt-get clean \
|
|
|
|
&& mkdir -p /home/ftuser/.vscode-server /home/ftuser/.vscode-server-insiders /home/ftuser/commandhistory \
|
|
|
|
&& echo "export PROMPT_COMMAND='history -a'" >> /home/ftuser/.bashrc \
|
2021-05-25 01:18:14 +00:00
|
|
|
&& echo "export HISTFILE=~/commandhistory/.bash_history" >> /home/ftuser/.bashrc \
|
2021-01-18 07:46:19 +00:00
|
|
|
&& chown ftuser:ftuser -R /home/ftuser/.local/ \
|
2020-09-20 12:35:08 +00:00
|
|
|
&& chown ftuser: -R /home/ftuser/
|
|
|
|
|
|
|
|
USER ftuser
|
|
|
|
|
2021-05-24 15:01:53 +00:00
|
|
|
RUN pip install --user autopep8 -r docs/requirements-docs.txt -r requirements-dev.txt --no-cache-dir
|
|
|
|
|
2020-09-20 12:35:08 +00:00
|
|
|
# Empty the ENTRYPOINT to allow all commands
|
|
|
|
ENTRYPOINT []
|