File size: 278 Bytes
186e06e
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM huggingface/text-generation-inference:latest

# Copy your app code
COPY . /app

# Install any necessary dependencies
RUN pip install -r requirements.txt

# Expose the port the app will run on
EXPOSE 7860

# Start the app when the container launches
CMD ["python", "app.py"]