Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -2,8 +2,7 @@ FROM python:3.11-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
|
| 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"]
|