8e commited on
Commit
1b4b200
·
verified ·
1 Parent(s): 4c54c44

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -2,8 +2,7 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
- COPY . /app
6
- RUN apt update && apt install y git && \
7
  git clone https://github.com/LanQian528/chat2api && \
8
  cd chat2api && pip install --no-cache-dir -r requirements.txt
9
 
@@ -12,4 +11,4 @@ RUN chmod -R 777 /app/data
12
 
13
  EXPOSE 5005
14
 
15
- CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN apt update && apt install -y git && \
 
6
  git clone https://github.com/LanQian528/chat2api && \
7
  cd chat2api && pip install --no-cache-dir -r requirements.txt
8
 
 
11
 
12
  EXPOSE 5005
13
 
14
+ CMD ["python", "chat2api/app.py"]