Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
FROM gradio/gradio:4.36.1-py310
|
| 2 |
|
| 3 |
USER root
|
| 4 |
-
RUN apt-get update &&
|
|
|
|
|
|
|
| 5 |
USER user
|
| 6 |
|
| 7 |
COPY requirements.txt .
|
| 8 |
-
RUN pip install -r requirements.txt
|
| 9 |
COPY app.py .
|
| 10 |
CMD ["python", "app.py"]
|
|
|
|
| 1 |
FROM gradio/gradio:4.36.1-py310
|
| 2 |
|
| 3 |
USER root
|
| 4 |
+
RUN apt-get update && \
|
| 5 |
+
apt-get install -y --no-install-recommends wireguard-tools && \
|
| 6 |
+
apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 7 |
USER user
|
| 8 |
|
| 9 |
COPY requirements.txt .
|
| 10 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
COPY app.py .
|
| 12 |
CMD ["python", "app.py"]
|