worker-nogpu (dev)
Published 2024-02-26 11:33:16 -05:00 by benbot
Installation
docker pull panda.minbot.win/benbot/worker-nogpu:devsha256:8d7a98e44e87a2e128da346775be735e793d5277f4592776770d6b76422a00dfImage layers
| ADD file:7fd52845d064446007966c062784c558669970932bd441501bc48bceaac68c35 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c dnf update -y && dnf install python3 python3-devel python3-pip cmake make gcc-c++ -y && dnf clean all -y # buildkit |
| WORKDIR /app |
| COPY ./pyproject.toml /app/pyproject.toml # buildkit |
| COPY ./poetry.lock /app/poetry.lock # buildkit |
| COPY ./sky /app/sky # buildkit |
| COPY ./worker /app/worker # buildkit |
| RUN /bin/sh -c pip install poetry # buildkit |
| RUN /bin/sh -c poetry install --only main # buildkit |
| RUN /bin/sh -c poetry build # buildkit |
| CMD ["poetry" "run" "python" "sky/main.py"] |