From 69f9af302fda93af5b293ef62feae998282d868c Mon Sep 17 00:00:00 2001 From: AkitsukiNagi Date: Sun, 4 Jan 2026 12:25:41 +0800 Subject: [PATCH] chore: docker file for Arch Linux --- Dockerfile | 14 ++++++++++++++ docker-compose.yml | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7a8ab16 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM archlinux:latest + +RUN pacman -Syu --no-confirm + +WORKDIR /app + + +COPY . . + +RUN chmod +x TodayOnHistory + +EXPOSE 8080 + +CMD ["./TodayOnHistory"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f4f547e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +services: + today-on-history: + build: "." + container_name: "today-on-history" + restart: "always" + ports: + - 8080:8080 + expose: + - 8080 + volumes: + - /srv/TodayOnHistory:/app