dockersamples / example-voting-app

Example distributed app composed of multiple containers for Docker, Compose, Swarm, and Kubernetes
Apache License 2.0
4.65k stars 10.57k forks source link

fix '/seed/generate-votes.sh: not found' Error #327

Open MrZohaibKhan opened 9 months ago

MrZohaibKhan commented 9 months ago

This pull request addresses the issue where the initial CMD instruction in the Dockerfile was causing /bin/sh: 1: /seed/generate-votes.sh: not found Error.

Changes Made

Updated Dockerfile under /seed-data directory to use CMD bash /seed/generate-votes.sh for proper script execution.

Testing

Manually tested the Docker build with the modified Dockerfile. Verified that the /seed/generate-votes.sh script runs without errors inside the Docker container.