Unmeshraj commited on
Commit
d9682ae
·
1 Parent(s): 3a34ced
Files changed (1) hide show
  1. Dockerfile +0 -8
Dockerfile CHANGED
@@ -2,24 +2,16 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # System deps + git-lfs
6
  RUN apt-get update && apt-get install -y \
7
  git \
8
- git-lfs \
9
  build-essential \
10
- && git lfs install \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- # Copy requirements and install Python deps
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
17
- # Copy app code (includes LFS pointers)
18
  COPY . .
19
 
20
- # 🔴 THIS IS THE IMPORTANT PART
21
- RUN git lfs pull
22
-
23
  EXPOSE 7860
24
 
25
  ENV FLASK_APP=app.py
 
2
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && apt-get install -y \
6
  git \
 
7
  build-essential \
 
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
10
  COPY requirements.txt .
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
13
  COPY . .
14
 
 
 
 
15
  EXPOSE 7860
16
 
17
  ENV FLASK_APP=app.py