Distopia22's picture
Add lightweight regex-based PII removal for file uploads
d8473b6
raw
history blame
296 Bytes
FROM python:3.11-slim
WORKDIR /app
# Copy requirements
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Expose port
EXPOSE 7860
# Run
CMD ["python", "src/main.py"]