diff --git a/Dockerfile b/Dockerfile index 565552e..9353fb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,10 @@ -this handles video downloads & general requests to youtube \ No newline at end of file +FROM node:alpine + +RUN mkdir -p /usr/src/preservetube/metadata +WORKDIR /usr/src/preservetube/metadata +RUN apk add --no-cache python3 alpine-sdk + +COPY . /usr/src/preservetube/metadata +RUN bun install + +CMD ["bun", "run", "index.ts"] \ No newline at end of file diff --git a/README.md b/README.md index 6b7c99a..565552e 100644 --- a/README.md +++ b/README.md @@ -1,15 +1 @@ -# preservetube-metadata-rewrite - -To install dependencies: - -```bash -bun install -``` - -To run: - -```bash -bun run index.ts -``` - -This project was created using `bun init` in bun v1.2.17. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime. +this handles video downloads & general requests to youtube \ No newline at end of file