Mostafa-wael / Quran-cli

A simple command line interface for listening to Quran.

Home Page:https://www.npmjs.com/package/@quran-cli/q-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Docker image

ahmedihabb2 opened this issue · comments

Create docker image for easily usage without need to install node and npm

commented

do you wanna docker image build app via npx i.e. npx @quran-cli/q-cli

or build it locally i.e. install node, npm, typescript then run node src/index.js

despite that both will require node, npm installation and typescript for the second
and both method will require installation of mpv

We need a Docker image with mpv and node installed.
You can run it in the way that suits you the best.
You can either copy the files while building the image, or just run using npx.
So, the file would look something like this:
Mpv image - > install node - > run using npx.
If something is not clear enough, don't hesitate to ask!