Spaces:
Sleeping
Sleeping
Sunrusojsis
commited on
Update Dockerfile
Browse files- Dockerfile +10 -7
Dockerfile
CHANGED
@@ -1,8 +1,11 @@
|
|
1 |
-
FROM python:3.11
|
2 |
-
|
3 |
-
|
4 |
-
RUN
|
|
|
5 |
RUN pip install -r requirements.txt
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
RUN apt update
|
3 |
+
RUN apt install git
|
4 |
+
RUN git clone https://github.com/egcash/hf-llm-api.git /app
|
5 |
+
WORKDIR "/app"
|
6 |
RUN pip install -r requirements.txt
|
7 |
+
# RUN mkdir -p /data && chmod -R 755 /data
|
8 |
+
# VOLUME /data [new version ]
|
9 |
+
EXPOSE 23333
|
10 |
+
|
11 |
+
CMD ["uvicorn","proxy:app"]
|