File size: 405 Bytes
fb19138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
### Base image for Hugging Face transformer models
FROM huggingface/transformers:4.10.2

### Set the working directory to /app
WORKDIR /app

### Copy the requirements.txt file
COPY requirements.txt .

### Install the dependencies
RUN pip install -r requirements.txt

### Collect static files
COPY . .

### Make port 8000 available to the world
EXPOSE 8000

### Run the Gradio app
CMD ["python", "app.py"]