diff options
| author | Onni Lampi <contact@onnilampi.fi> | 2025-08-16 12:33:46 +0300 |
|---|---|---|
| committer | Onni Lampi <contact@onnilampi.fi> | 2025-08-16 17:18:29 +0300 |
| commit | 30efac2becd6dcc6854bb1e896b9ab579b42c3cc (patch) | |
| tree | 57eefee89e9caf37d7cc4cbc966f66b875c945ac /Containerfile | |
| parent | bb88b544c64a3b0d4edef3faa09bff4c3a59bdba (diff) | |
Containerize the application
The containers are orchestrated with systemd.
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 11 |
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 |
