From 30efac2becd6dcc6854bb1e896b9ab579b42c3cc Mon Sep 17 00:00:00 2001 From: Onni Lampi Date: Sat, 16 Aug 2025 12:33:46 +0300 Subject: Containerize the application The containers are orchestrated with systemd. --- Containerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Containerfile (limited to 'Containerfile') 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 -- cgit v1.3