docker-compose.yml

 avatar
unknown
dockerfile
17 days ago
488 B
23
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-TTY
Editor is loading...
Leave a Comment