Omkar1806 commited on
Commit
abcb1ff
·
verified ·
1 Parent(s): 615bf53

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -15
Dockerfile CHANGED
@@ -1,20 +1,7 @@
1
  FROM python:3.9-slim
2
-
3
  WORKDIR /app
4
-
5
- # Install dependencies
6
  COPY requirements.txt .
7
- RUN pip install --no-cache-dir --upgrade pip && \
8
- pip install --no-cache-dir -r requirements.txt
9
-
10
- # Copy all project files
11
  COPY . .
12
-
13
- # Set environment path
14
  ENV PYTHONPATH=/app
15
-
16
- # Port for Hugging Face
17
- EXPOSE 7860
18
-
19
- # Run the application
20
- CMD ["python", "app.py"]
 
1
  FROM python:3.9-slim
 
2
  WORKDIR /app
 
 
3
  COPY requirements.txt .
4
+ RUN pip install --no-cache-dir -r requirements.txt
 
 
 
5
  COPY . .
 
 
6
  ENV PYTHONPATH=/app
7
+ CMD ["python", "server/app.py"]