Added docker files for remote

This commit is contained in:
2025-08-13 16:51:59 +10:00
parent d743e5610a
commit 692a160972
3 changed files with 30 additions and 0 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
# Use version 3.8 of the Docker Compose file format
version: '3.8'
# 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:
- "${PWD}:/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"]