aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkj_sh6042025-12-31 08:58:22 -0500
committerkj_sh6042025-12-31 08:58:22 -0500
commit828cc2a258ce4af0bdcdebfd412031ed1d79a617 (patch)
treed6215a257a40bca699c2b0e9f9fd223fffd6b71f
parentbeaabd5b2f719a62526d5b4214cfc2bc4fab41aa (diff)
feat: write super simple `Dockerfile`
i DO NOT recommend using this yet, production or even locally
Diffstat (limited to '')
-rw-r--r--Dockerfile19
-rw-r--r--src/VERSION2
2 files changed, 20 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..5c17122
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,19 @@
+FROM php:8.5.1-cli
+
+RUN apt update && apt install -y \
+ pandoc \
+ texlive \
+ texlive-latex-extra \
+ texlive-fonts-extra \
+ texlive-lang-chinese \
+ texlive-lang-japanese \
+ texlive-lang-all \
+ && rm -rf /var/lib/apt/lists/*
+
+WORKDIR /app
+
+COPY src/ .
+
+EXPOSE 8080
+
+CMD ["php", "-S", "0.0.0.0:8080"] \ No newline at end of file
diff --git a/src/VERSION b/src/VERSION
index e17e721..edf2032 100644
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +1 @@
-2025.12.31-0811
+2025.12.31-0858