Created
July 20, 2025 23:19
-
-
Save janakiramm/d01f76438992d7f26571f46f1f00ec85 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM docker.io/python:alpine | |
| WORKDIR /content | |
| RUN apk add curl | |
| RUN echo '<!DOCTYPE html><html><head><title>Hello</title></head><body><h1>Hello, world!</h1></body></html>' > index.html | |
| CMD ["python3", "-m", "http.server", "80", "--bind", "0.0.0.0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment