Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
|
7 |
-
RUN pip install -r requirements.txt
|
8 |
|
9 |
-
|
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"]
|
|
|
|
|
|
|
|