diff options
| author | Leonard Kugis <leonard@kug.is> | 2026-09-04 04:01:49 +0200 |
|---|---|---|
| committer | Leonard Kugis <leonard@kug.is> | 2026-09-04 04:01:49 +0200 |
| commit | 558c90807b09b16757c88f2e50bdbd123d425f37 (patch) | |
| tree | 2f298bb77caf0ea93d6c01e94d1f25024e22082f /Dockerfile | |
| download | medman-master.tar.gz | |
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 18 |
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 |
