docker-compose.yml
unknown
dockerfile
a year ago
488 B
30
Indexable
services:
app:
image: python:3.8 # Use the Python 3.8 image
container_name: tiktok_watcher # Optional: Name the container
volumes:
- $PWD:/usr/src/app # Mount the current directory to /usr/src/app in the container
working_dir: /usr/src/app # Set the working directory to /usr/src/app
command: . install.sh && python script.py # Run the commands
stdin_open: true # Equivalent to `-it` (interactive mode)
tty: true # Allocate a pseudo-TTYEditor is loading...
Leave a Comment