zahraa12355 commited on
Commit
f1a2338
·
verified ·
1 Parent(s): 53c64bd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -6,8 +6,12 @@ WORKDIR /code
6
  # Install dependencies
7
  COPY requirements.txt .
8
  RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
9
- # Copy app
10
- COPY app.py .
 
 
 
 
11
 
12
  # Expose port 7860 (required by Hugging Face)
13
  EXPOSE 7860
 
6
  # Install dependencies
7
  COPY requirements.txt .
8
  RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
9
+
10
+ # Copy ALL files (including app.sh)
11
+ COPY . .
12
+
13
+ # Make app.sh executable
14
+ RUN chmod +x app.sh
15
 
16
  # Expose port 7860 (required by Hugging Face)
17
  EXPOSE 7860