Spaces:
Sleeping
Sleeping
# Use an official base image (e.g., Ubuntu) as the starting point | |
FROM ubuntu:latest | |
# Install Docker CLI (optional, only if you want to run Docker commands inside the container) | |
RUN apt-get update && apt-get install -y \ | |
docker.io \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Pull the unclecode/crawl4ai:basic image | |
RUN docker pull unclecode/crawl4ai:basic | |
# Expose the port that the application will run on | |
EXPOSE 11235 | |
# Run the container | |
CMD ["docker", "run", "-p", "11235:11235", "unclecode/crawl4ai:basic"] |