Skip to content

Feature/docker compose support#18

Open
kawata-yuya wants to merge 7 commits intoMizuhoAOKI:masterfrom
kawata-yuya:feature/docker-compose-support
Open

Feature/docker compose support#18
kawata-yuya wants to merge 7 commits intoMizuhoAOKI:masterfrom
kawata-yuya:feature/docker-compose-support

Conversation

@kawata-yuya
Copy link
Copy Markdown
Contributor

what's changed

This PR supports Docker compose to improve build and run container processes.
By setting the virtualenv path to /opt/venv, I resolved the issue where uv virtualenv was copied to the host when the workspace was mounted.

  • Supports Docker compose
  • Change uv virtualenv path from /dev_ws/python_simple_mppi/.venv to /opt/venv
    • This prevents .venv from being created in the host machine's workspace during mounting, keeping the host environment clean.
  • Change README.md

Changes in the Docker startup process

Before

# First, explicit Docker image build is required.
docker build -t dev_mppi:v1.1 -f docker/Dockerfile .
docker run -it -v .:/dev_ws/python_simple_mppi --name dev_mppi_container dev_mppi:v1.1 bash

After

# just one line
docker compose run --rm dev

@MizuhoAOKI
Copy link
Copy Markdown
Owner

MizuhoAOKI commented Apr 13, 2026

@kawata-yuya
Thank you for the PR! I am sorry for the late response, I've been quite busy recently.

This looks like a nice improvement. I'll review it properly as soon as I get some time. I appreciate your patience.

@MizuhoAOKI MizuhoAOKI self-assigned this Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants