Spaces:
Paused
Paused
File size: 333 Bytes
2345f84 |
1 2 3 4 5 6 7 8 9 10 11 |
FROM shadowv2/int-driver:latest
EXPOSE 8000
# Create a simple HTTP server using nc (netcat)
RUN echo '#!/bin/sh\n\
while true; do \n\
printf "HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\n\r\nHello! The container is running on port 8000.\n" | nc -l -p 8000 -q 1; \n\
done' > /server.sh && chmod +x /server.sh
CMD ["/server.sh"] |