ravi848101 commited on
Commit
02d5cff
·
1 Parent(s): 15b499b

initial files

Browse files
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use an official Python base image
2
+ FROM python:3.10-slim
3
+ ENV PYTHONDONTWRITEBYTECODE=1
4
+ ENV PYTHONUNBUFFERED=1
5
+ WORKDIR /app
6
+ RUN apt-get update && apt-get install -y \
7
+ gcc \
8
+ libglib2.0-0 \
9
+ libsm6 \
10
+ libxext6 \
11
+ libxrender-dev \
12
+ && rm -rf /var/lib/apt/lists/*
13
+ COPY requirements.txt .
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+ RUN python -m nltk.downloader punkt
16
+ COPY . .
17
+ EXPOSE 5000
18
+ CMD ["python", "app.py"]
requirenments.txt → requirements.txt RENAMED
File without changes