Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -30,6 +30,11 @@ WORKDIR /app
|
|
| 30 |
COPY requirements.txt .
|
| 31 |
RUN pip install -r requirements.txt
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
# Copy rest of the application
|
| 34 |
COPY . .
|
| 35 |
|
|
|
|
| 30 |
COPY requirements.txt .
|
| 31 |
RUN pip install -r requirements.txt
|
| 32 |
|
| 33 |
+
# Install frpc binary for Gradio tunnels
|
| 34 |
+
RUN wget https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64 \
|
| 35 |
+
-O /usr/local/lib/python3.11/site-packages/gradio/frpc_linux_amd64_v0.2 && \
|
| 36 |
+
chmod +x /usr/local/lib/python3.11/site-packages/gradio/frpc_linux_amd64_v0.2
|
| 37 |
+
|
| 38 |
# Copy rest of the application
|
| 39 |
COPY . .
|
| 40 |
|