Falln87 commited on
Commit
186e06e
·
verified ·
1 Parent(s): 2ecb393

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM huggingface/text-generation-inference:latest
2
+
3
+ # Copy your app code
4
+ COPY . /app
5
+
6
+ # Install any necessary dependencies
7
+ RUN pip install -r requirements.txt
8
+
9
+ # Expose the port the app will run on
10
+ EXPOSE 7860
11
+
12
+ # Start the app when the container launches
13
+ CMD ["python", "app.py"]