freqtrade_origin/.devcontainer/Dockerfile

23 lines
851 B
Docker
Raw Normal View History

FROM freqtradeorg/freqtrade:develop_freqairl
2021-05-24 15:01:53 +00:00
USER root
# Install dependencies
COPY requirements-dev.txt /freqtrade/
2021-05-24 15:01:53 +00:00
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog \
&& apt-get -y install --no-install-recommends git sudo vim build-essential \
&& 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/ \
&& 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
# Empty the ENTRYPOINT to allow all commands
ENTRYPOINT []