aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorkj_sh6042026-02-16 02:02:46 -0500
committerkj_sh6042026-02-16 02:02:46 -0500
commitf6e6db9d0360675c6153c0f671772e2c5fc7093f (patch)
tree9ec6c33563731baac1baeaea17495d32c4cfca49 /Dockerfile
parenteb84775cf931a92fc26f5e7d66c74ac1521ca30b (diff)
feat: docker 🚢
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..cb2ae81
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,26 @@
+FROM ubuntu:24.04
+
+ENV DEBIAN_FRONTEND=noninteractive \
+ PYTHONUNBUFFERED=1
+
+RUN apt-get update && apt-get install -y \
+ python3 \
+ python3-pip \
+ python3-venv \
+ pandoc \
+ texlive-full \
+ fonts-noto-color-emoji \
+ && rm -rf /var/lib/apt/lists/*
+
+WORKDIR /app
+
+COPY src/requirements.txt .
+RUN pip3 install --no-cache-dir -r requirements.txt --break-system-packages
+
+COPY src/ .
+
+RUN mkdir -p generated uploads
+
+EXPOSE 5000
+
+CMD ["python3", "app.py"]