Add Dockerfile and Docker Compose for one-command setup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Derick Phan 2026-03-26 17:59:08 -07:00
parent fede0287e9
commit ddaba43710
No known key found for this signature in database
4 changed files with 32 additions and 1 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /data \
&& ln -sf /data/index.db index.db \
&& ln -sf /data/tinyweb_identity tinyweb_identity
EXPOSE 8080
CMD ["python", "app.py"]