farrah29 commited on
Commit
e2c5081
·
verified ·
1 Parent(s): cd8595c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -1,17 +1,16 @@
1
  FROM python:3.10-slim
2
 
3
- # Set working directory
4
  WORKDIR /app
5
 
6
  # Install dependencies
7
  COPY requirements.txt .
8
  RUN pip install --upgrade pip && pip install -r requirements.txt
9
 
10
- # Copy app
11
  COPY app.py .
12
 
13
- # Expose port
14
  EXPOSE 7860
15
 
16
- # Run app
17
  CMD ["python", "app.py"]
 
1
  FROM python:3.10-slim
2
 
 
3
  WORKDIR /app
4
 
5
  # Install dependencies
6
  COPY requirements.txt .
7
  RUN pip install --upgrade pip && pip install -r requirements.txt
8
 
9
+ # Copy app file
10
  COPY app.py .
11
 
12
+ # Expose the port Gradio uses
13
  EXPOSE 7860
14
 
15
+ # Run the application
16
  CMD ["python", "app.py"]