dragonxd1 commited on
Commit
80fb2f8
·
verified ·
1 Parent(s): 129d57a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -16
Dockerfile CHANGED
@@ -1,16 +1 @@
1
- FROM python:3.10-slim
2
-
3
- RUN apt-get update && apt-get install -y \
4
- git bash dnsutils curl ffmpeg sudo \
5
- && rm -rf /var/lib/apt/lists/*
6
-
7
- WORKDIR /app
8
- COPY app.py .
9
-
10
- RUN pip install --no-cache-dir fastapi uvicorn
11
-
12
- EXPOSE 7860
13
-
14
- CMD sh -c 'echo "nameserver 1.1.1.1" | sudo tee /etc/resolv.conf >/dev/null 2>&1; \
15
- echo "nameserver 1.0.0.1" | sudo tee -a /etc/resolv.conf >/dev/null 2>&1; \
16
- uvicorn app:app --host 0.0.0.0 --port 7860'
 
1
+ FROM taslim7/dragonhost-app