Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use container images #139

Open
Tracked by #86
mudler opened this issue Jul 5, 2024 · 3 comments
Open
Tracked by #86

docs: use container images #139

mudler opened this issue Jul 5, 2024 · 3 comments
Labels
blocked documentation Improvements or additions to documentation

Comments

@mudler
Copy link
Contributor

mudler commented Jul 5, 2024

As part of #109 we have now container images published by the pipelines.

We want now to be consistent and have documentation explaining how to use the images, and use these in place of having to setup the environment manually (via git clone, pip and running make commands).

@mudler
Copy link
Contributor Author

mudler commented Sep 20, 2024

Blocked by masa-finance/roadmap#53

@mudler
Copy link
Contributor Author

mudler commented Dec 9, 2024

A very basic Dockerfile which builds here:

FROM python:3.12 AS base

WORKDIR /app

RUN apt update && \
    apt install -y nodejs npm && \
    npm install -g pm2
    
RUN git clone https://github.com/opentensor/btcli.git

COPY . .

RUN python3 -m venv bittensor && \
    /bin/bash -c "source bittensor/bin/activate && cd /app && pip install -e ."

RUN cd btcli && \
    pip3 install .

@teslashibe teslashibe reopened this Dec 9, 2024
@mudler mudler closed this as completed Jan 14, 2025
@mudler mudler reopened this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants