Files
Acrybot/docker-compose.yml
BigGamerGary 01170a3849
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Docker changes
2025-08-14 18:06:43 +10:00

14 lines
690 B
YAML

# Define the services (containers) that make up your application
services:
# 'python-app' is the name of your service
python-app:
# Build the Docker image using the Dockerfile in the current directory
build: .
# Mount the current directory on the host machine to '/app' inside the container.
# This enables real-time code changes during development.
volumes:
- "/home/gary/Discord/Acrybot:/app"
# EXPLICITLY set the entrypoint for your container.
# This ensures your Python script runs as the primary process and only once.
# Replace 'your_script_name.py' with the actual name of your Python file.
entrypoint: ["python", "src/py/Acronymbot.py"]