Nafiul Huda commited on
Commit
d5369e8
·
verified ·
1 Parent(s): 7b5ea77

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,14 +1,14 @@
1
  FROM python:3.11-slim
2
 
3
- WORKDIR /data
4
 
5
- # Copy requirements from your bucket or local directory
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- # Expose the correct Gradio port
 
10
  ENV GRADIO_SERVER_NAME=0.0.0.0
11
  ENV GRADIO_SERVER_PORT=7860
12
 
13
- # Run the app from your mounted bucket files
14
  CMD ["python", "app.py"]
 
1
  FROM python:3.11-slim
2
 
3
+ WORKDIR /code
4
 
5
+ # Copies from your Git repo
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
+ COPY . .
10
+
11
  ENV GRADIO_SERVER_NAME=0.0.0.0
12
  ENV GRADIO_SERVER_PORT=7860
13
 
 
14
  CMD ["python", "app.py"]