token-visualizer / Dockerfile
Debanjum
Create app to visualize text tokenization by any LLM on HF
ef61a64
raw
history blame contribute delete
269 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Expose port 7860 (HF Spaces default)
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]