Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -3,11 +3,10 @@ FROM python:3.11-slim
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY . /app
|
| 5 |
|
| 6 |
-
# Install
|
| 7 |
RUN apt-get update && apt-get install -y iproute2 curl unzip && \
|
| 8 |
rm -rf /var/lib/apt/lists/* && \
|
| 9 |
pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
-
# Listen on the official HF port
|
| 12 |
EXPOSE 7860
|
| 13 |
CMD ["python", "-m", "bot"]
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY . /app
|
| 5 |
|
| 6 |
+
# Install essential tools
|
| 7 |
RUN apt-get update && apt-get install -y iproute2 curl unzip && \
|
| 8 |
rm -rf /var/lib/apt/lists/* && \
|
| 9 |
pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
|
|
|
| 11 |
EXPOSE 7860
|
| 12 |
CMD ["python", "-m", "bot"]
|