summaryrefslogtreecommitdiffstats
path: root/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Containerfile')
-rw-r--r--Containerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile
new file mode 100644
index 0000000..ad2f88e
--- /dev/null
+++ b/Containerfile
@@ -0,0 +1,11 @@
+FROM fedora:latest
+RUN dnf install -y npm nodejs tsc yt-dlp chromium
+RUN groupadd veetibot && useradd -g veetibot veetibot
+RUN mkdir /veetibot && chown -R veetibot:veetibot veetibot
+WORKDIR veetibot
+COPY src src
+COPY package.json .
+COPY tsconfig.json .
+RUN chown -R veetibot:veetibot ./
+USER veetibot
+RUN npm install && npm install puppeteer && npm run build