refractor blogpost and cdn chall

This commit is contained in:
Jonathan committed 2025-10-10 22:37:11 +07:00
1 parent 2d51b73a1e
commit bb3f6e74aa
47 files changed
-544

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
FROM python:3.11-slim
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
libimage-exiftool-perl \
sqlite3 \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY . /app
RUN chmod +x /app/entrypoint.sh
RUN mkdir -p /data /app/uploads
EXPOSE 8000
CMD ["/app/entrypoint.sh"]