bryanhce / reddit-videos

0 stars 0 forks source link

Dockerise app and make necessary refactoring #46

Closed rmj1405 closed 4 months ago

rmj1405 commented 4 months ago

Quick Start Guide:

Step 1: Download the latest version of Docker Desktop

Step 2: Build the image docker build -t reddit-videos .

Step 3: Run the container passing in the env file and docker image docker run --env-file .env reddit-videos

Step 4: Upon successful generation, extract the video docker cp :/code/video/output.mp4 </path/to/output/file/>

rmj1405 commented 4 months ago

I would recommend testing this out on a new branch before merging to main

rmj1405 commented 4 months ago

How to run script.sh

Only on the first time: chmod +x script.sh

./script.sh