freqtrade_origin/.github/.devcontainer/Dockerfile

22 lines
701 B
Docker
Raw Permalink 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
2024-04-27 09:29:24 +00:00
ARG USERNAME=ftuser
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog git ssh vim build-essential zsh \
&& apt-get clean \
2024-04-27 09:29:24 +00:00
&& mkdir -p /home/${USERNAME}/.vscode-server /home/${USERNAME}/.vscode-server-insiders /home/${USERNAME}/commandhistory \
&& chown ${USERNAME}:${USERNAME} -R /home/${USERNAME}/.local/ \
&& chown ${USERNAME}: -R /home/${USERNAME}/
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 []