version: '3' services: llama2hf: container_name: llama2hf image: llama2hf-image build: context: . dockerfile: Dockerfile volumes: - ./:/home/user/app working_dir: /home/user/app environment: - HF_TOKEN=${HF_TOKEN} stdin_open: true tty: true restart: always ports: - "7860:7860"