This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
# Use version 3.8 of the Docker Compose file format
|
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
# Define the services (containers) that make up your application
|
# Define the services (containers) that make up your application
|
||||||
services:
|
services:
|
||||||
# 'python-app' is the name of your service
|
# 'python-app' is the name of your service
|
||||||
@@ -10,7 +7,7 @@ services:
|
|||||||
# Mount the current directory on the host machine to '/app' inside the container.
|
# Mount the current directory on the host machine to '/app' inside the container.
|
||||||
# This enables real-time code changes during development.
|
# This enables real-time code changes during development.
|
||||||
volumes:
|
volumes:
|
||||||
- "${PWD}:/app"
|
- "/home/gary/Discord/Acrybot:/app"
|
||||||
# EXPLICITLY set the entrypoint for your container.
|
# EXPLICITLY set the entrypoint for your container.
|
||||||
# This ensures your Python script runs as the primary process and only once.
|
# 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.
|
# Replace 'your_script_name.py' with the actual name of your Python file.
|
||||||
|
|||||||
Reference in New Issue
Block a user