Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 553 Bytes

DOCKER_DEPLOYMENT.md

File metadata and controls

19 lines (17 loc) · 553 Bytes

DOCKER DEPLOYMENT

  • Clone the repository
  • Go to project root directory
      cd first-issues
    
  • Build image using this command
      docker build -t firstissuescron .
    
  • Create credentials.json file (read more about this in HOW TO USE)
  • Create container using this command
      docker run -t -i --mount type=bind,src={CREDENTIALS_PATH},dst=/home/first-issues/credentials.json --name firstissuescron firstissuescron
    
  • Restart container

{CREDENTAILS_PATH}: Absolute path for credentails.json