Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
|
@@ -5,13 +5,15 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
-
RUN
|
| 9 |
-
|
|
|
|
| 10 |
|
| 11 |
-
|
|
|
|
| 12 |
|
| 13 |
RUN chmod -R 777 /app
|
| 14 |
|
| 15 |
EXPOSE 7860
|
| 16 |
|
| 17 |
-
CMD ["python", "
|
|
|
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
+
RUN apk update && apk add --no-cache git gcc musl-dev libffi-dev
|
| 9 |
+
|
| 10 |
+
RUN git clone https://github.com/ReirLair/info.git .
|
| 11 |
|
| 12 |
+
RUN pip install --upgrade pip && \
|
| 13 |
+
pip install httpx flask flask-cors cachetools protobuf pycryptodome asgiref
|
| 14 |
|
| 15 |
RUN chmod -R 777 /app
|
| 16 |
|
| 17 |
EXPOSE 7860
|
| 18 |
|
| 19 |
+
CMD ["python", "app.py"]
|