Kakashi75 commited on
Commit
702c2ca
·
1 Parent(s): c7297b8

add:Docker file

Browse files
Files changed (2) hide show
  1. Dockerfile +30 -0
  2. README.md +10 -0
Dockerfile ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ # Set working directory
4
+ WORKDIR /app
5
+
6
+ # Install system dependencies
7
+ RUN apt-get update && apt-get install -y \
8
+ git \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ # Copy requirements first for better caching
12
+ COPY requirements.txt .
13
+
14
+ # Install Python dependencies
15
+ RUN pip install --no-cache-dir -r requirements.txt
16
+
17
+ # Copy application files
18
+ COPY . .
19
+
20
+ # Create directories for output
21
+ RUN mkdir -p sheets_output data/processed
22
+
23
+ # Expose port 7860 (HF Spaces default)
24
+ EXPOSE 7860
25
+
26
+ # Set environment variable for port
27
+ ENV PORT=7860
28
+
29
+ # Run the application
30
+ CMD ["python", "app.py"]
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # Telugu Dialect Map
2
 
3
  **Interactive web-based visualization of Telugu dialect words across Telangana and Andhra Pradesh districts.**
 
1
+ ---
2
+ title: Telugu Dialect Map
3
+ emoji: 🗺️
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ license: mit
9
+ ---
10
+
11
  # Telugu Dialect Map
12
 
13
  **Interactive web-based visualization of Telugu dialect words across Telangana and Andhra Pradesh districts.**