Spaces:
Sleeping
Sleeping
amaye15
commited on
Commit
·
d7da7b2
1
Parent(s):
48a0b50
test
Browse files- Dockerfile +0 -16
- crawl4ai.sh +3 -0
Dockerfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
# Use an official base image (e.g., Ubuntu) as the starting point
|
| 2 |
-
FROM ubuntu:latest
|
| 3 |
-
|
| 4 |
-
# Install Docker CLI (optional, only if you want to run Docker commands inside the container)
|
| 5 |
-
RUN apt-get update && apt-get install -y \
|
| 6 |
-
docker.io \
|
| 7 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
-
|
| 9 |
-
# Pull the unclecode/crawl4ai:basic image
|
| 10 |
-
RUN docker pull unclecode/crawl4ai:basic
|
| 11 |
-
|
| 12 |
-
# Expose the port that the application will run on
|
| 13 |
-
EXPOSE 11235
|
| 14 |
-
|
| 15 |
-
# Run the container
|
| 16 |
-
CMD ["docker", "run", "-p", "11235:11235", "unclecode/crawl4ai:basic"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
crawl4ai.sh
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
docker pull unclecode/crawl4ai:basic
|
| 3 |
+
docker run -p 11235:11235 unclecode/crawl4ai:basic
|