FROM python:3.12-slim ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 \ PORT=8090 WORKDIR /app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY app.py index.html detail-view.html detail-view-project.html ./ # matching.db는 볼륨으로 마운트해서 데이터 보존 VOLUME ["/app/data"] EXPOSE 8090 CMD ["sh", "-c", "ln -sf /app/data/matching.db /app/matching.db 2>/dev/null || true; python3 app.py"]