Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM gradio/gradio:4.36.1-py310
|
| 2 |
+
|
| 3 |
+
USER root
|
| 4 |
+
RUN apt-get update && apt-get install -y wireguard-tools && apt-get clean
|
| 5 |
+
USER user
|
| 6 |
+
|
| 7 |
+
COPY requirements.txt .
|
| 8 |
+
RUN pip install -r requirements.txt
|
| 9 |
+
COPY app.py .
|
| 10 |
+
CMD ["python", "app.py"]
|