aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..7963438
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,18 @@
+FROM python:3.11-slim-bookworm
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ ffmpeg \
+ squashfs-tools \
+ cryptsetup-bin \
+ && rm -rf /var/lib/apt/lists/*
+
+RUN pip install --no-cache-dir flask pillow jinja2
+
+WORKDIR /app
+COPY . .
+
+# Base directories (mount subdirs via docker-compose)
+RUN mkdir -p /app/db /app/srcs /app/dats /app/imports
+
+EXPOSE 8080
+CMD ["python", "app.py"] \ No newline at end of file