A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
dockerize
Christian Fei3d4616f26928
diff --git a/Dockerfile b/Dockerfilenew file mode 100644index 0000000..e368ed7--- /dev/null+++ b/Dockerfile@@ -0,0 +1,17 @@+FROM node:22-alpine++WORKDIR /app++COPY package*.json ./++RUN npm install+RUN apk add python3++RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp+RUN chmod a+rx /usr/local/bin/yt-dlp++COPY . .++EXPOSE 3000++CMD ["node", "server.js"]diff --git a/docker-compose.yml b/docker-compose.ymlnew file mode 100644index 0000000..f21441f--- /dev/null+++ b/docker-compose.yml@@ -0,0 +1,14 @@+services:+ app:+ build: .+ container_name: my-yt+ working_dir: /app+ volumes:+ - ./data:/app/data+ ports:+ - "3000:3000"+ command: npm start+ # network_mode: host+volumes:+ data:+ driver: localdiff --git a/package.json b/package.jsonindex 7e4dab0..1997131 100644--- a/package.json+++ b/package.json@@ -5,7 +5,7 @@"main": "index.js","scripts": {"start": "node index.js",- "test": "node test/*.test.js"+ "test": "node --test"},"keywords": [],"author": "",