Refactor Dockerfile to streamline build process and remove frontend build stage
Georg
8772f94
- Removed the multi-stage build for frontend assets, simplifying the Dockerfile.
- Consolidated application code copying to include the static frontend directory directly.
- Updated comments for clarity on the changes made to the build process.
Update Docker configuration and add frontend build process
Georg
eaf03f4
- Changed the exposed port for the nova-sim service from 3004 to 5001 in both docker-compose files to avoid conflicts.
- Added a multi-stage build process in the Dockerfile to compile frontend assets using Node.js and Vite, improving deployment efficiency.
- Introduced a Makefile for simplified development commands, including `make dev` for starting backend and frontend servers with hot reload.
- Updated .gitignore to exclude frontend build artifacts and development logs, ensuring a cleaner repository.
- Enhanced README.md to reflect new setup instructions and project structure, emphasizing the use of the Makefile for development.
Add GPU support with docker-compose.gpu.yml for enhanced performance
- Introduced a new docker-compose.gpu.yml file to enable GPU-accelerated rendering using NVIDIA GPUs and the nvidia-container-toolkit.
- Updated environment variables for improved rendering performance, including higher resolution and frame rate settings.
- Enhanced mujoco_server.py to dynamically adjust rendering settings based on the environment (Docker vs. native).
- Updated README.md with instructions for using the new GPU configuration and performance optimization details.
Refactor Spot and G1 robot model paths and add new assets
- Updated the path for loading the RL policy in G1 to use local assets.
- Refactored SpotEnv to load the model from local assets instead of MuJoCo Menagerie.
- Added new model files and assets for the Boston Dynamics Spot robot, including various OBJ files for its components.
- Created a changelog and license for the Spot model assets.
Add Docker support with Dockerfile, docker-compose.yml, and .dockerignore
- Introduced Dockerfile for building the application with necessary system dependencies for MuJoCo and OpenCV.
- Added docker-compose.yml to define the service configuration for the Nova Sim application.
- Created .dockerignore to exclude unnecessary files from the Docker build context.
- Updated SpotEnv and TrotGaitController comments for clarity on standing pose definitions.