Closed ronaldlindev closed 2 months ago
docker build . --buildarg device=cpu -t stoneye/dev:0
Change cpu to gpu if you are on a gpu enabled device.
docker run -v path/to/GPT_embedding:/GPT_embedding -it stoneye/dev:0
This should activate a environment where you can run local python files:
python main.py
Since this mounts a local drive to the container, the .env file should also be brought into the container.
docker build . --buildarg device=cpu -t stoneye/dev:0
Change cpu to gpu if you are on a gpu enabled device.
docker run -v path/to/GPT_embedding:/GPT_embedding -it stoneye/dev:0
This should activate a environment where you can run local python files:
python main.py
Since this mounts a local drive to the container, the .env file should also be brought into the container.