dockerized

This commit is contained in:
Shihaam Abdul Rahman 2023-11-12 00:18:50 +05:00
parent b6b0c07d33
commit d23015ba56
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
3 changed files with 31 additions and 0 deletions

8
.build/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM archlinux
WORKDIR /root
RUN pacman -Sy --noconfirm mpv jq curl speedtest-cli
COPY . .
CMD ./bot.sh

15
.build/docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
version: '3.5'
services:
starlink_status:
build:
context: ..
dockerfile: .build/Dockerfile
x-bake:
platforms:
- linux/amd64/v1
- linux/amd64/v2
- linux/amd64/v3
# - linux/arm/v7
# - linux/arm64
pull: true
image: git.shihaam.dev/shihaam/starlink_status

8
compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: '3.5'
services:
bot:
hostname: starlink_status
image: git.shihaam.dev/shihaam/starlink_status
env_file:
- ./.env