Falln87 commited on
Commit
94149ee
·
verified ·
1 Parent(s): 2c0c9f5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -9
Dockerfile CHANGED
@@ -1,13 +1,8 @@
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"]
 
1
+ FROM ghcr.io/huggingface/text-generation-inference:latest
2
 
 
3
  COPY . /app
4
+ WORKDIR /app
5
 
6
+ EXPOSE 80
 
7
 
8
+ CMD ["text-generation-inference", "--model-id", "mistralai/Mistral-7B-Instruct-v0.1"]