Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -9,8 +9,9 @@ RUN git clone https://github.com/ZyphrZero/z.ai2api_python.git .
|
|
| 9 |
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
-
RUN mkdir logs && chmod 777
|
| 13 |
|
| 14 |
-
|
|
|
|
| 15 |
|
| 16 |
CMD ["python", "main.py"]
|
|
|
|
| 9 |
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
+
RUN mkdir -p logs && chmod -R 777 /app
|
| 13 |
|
| 14 |
+
ENV LISTEN_PORT=7860
|
| 15 |
+
EXPOSE $LISTEN_PORT
|
| 16 |
|
| 17 |
CMD ["python", "main.py"]
|