Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
COPY . /app
|
| 5 |
+
|
| 6 |
+
# Install standard system 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 |
+
# Listen on the official HF port
|
| 12 |
+
EXPOSE 7860
|
| 13 |
+
CMD ["python", "-m", "bot"]
|