first commit

This commit is contained in:
Puechberty Arthur
2026-03-30 20:42:29 +02:00
commit a72f502342
13 changed files with 1001 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
# system deps for building some packages
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# copy requirements first for caching
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
# copy app
COPY . /app
EXPOSE 5000
# default command runs the webapp; docker-compose will override for scraper service
CMD ["python", "webapp.py"]