The Raspberry Pi offers a versatile platform for IoT projects, enhanced by its GPIO capabilities, but testing such applications can be challenging due to library compatibility issues between the Raspberry Pi and PCs. Docker provides a solution by allowing the creation of consistent environments, and this approach is exemplified by a project that uses Docker to build and test a Raspberry Pi application controlling an LED through a Node.js web application. By employing a custom version of the Codefresh platform, the process automates CI/CD, building Docker images specifically for the Raspberry Pi's ARM processor, and utilizing a GPIO simulator for integration testing. This setup enables testing without relying on actual GPIO hardware, allowing the application to be verified through simulated environments before being deployed to production. The experiment showcases how Docker and Codefresh can streamline the development and testing of IoT applications on Raspberry Pi, although broader support for Raspberry Pi images on Codefresh is still in development.