Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -14,5 +14,8 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 14 |
RUN echo "nameserver 8.8.8.8" >> /etc/resolv.conf
|
| 15 |
RUN echo "nameserver 8.8.4.4" >> /etc/resolv.conf
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
COPY --chown=user . /app
|
| 18 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 14 |
RUN echo "nameserver 8.8.8.8" >> /etc/resolv.conf
|
| 15 |
RUN echo "nameserver 8.8.4.4" >> /etc/resolv.conf
|
| 16 |
|
| 17 |
+
RUN apt-get update && apt-get install -y curl
|
| 18 |
+
RUN curl -v https://api.telegram.org
|
| 19 |
+
|
| 20 |
COPY --chown=user . /app
|
| 21 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|