Sunrusojsis commited on
Commit
2c374a6
·
verified ·
1 Parent(s): 4aac746

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -7
Dockerfile CHANGED
@@ -1,8 +1,11 @@
1
- FROM python:3.11-slim
2
- WORKDIR $HOME/app
3
- COPY requirements.txt $HOME/app
4
- RUN mkdir /.cache && chmod 777 /.cache
 
5
  RUN pip install -r requirements.txt
6
- COPY . $HOME/app
7
- EXPOSE 8000
8
- CMD ["python", "proxy.py"]
 
 
 
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"]