stable/.devcontainer/Dockerfile

22 lines
759 B
Docker
Raw Normal View History

FROM freqtradeorg/freqtrade:develop
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 \
2021-05-24 15:01:53 +00:00
&& apt-get -y install git mercurial 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 []