File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "DockerRun.DisableDockerrc" : true
3+ }
Original file line number Diff line number Diff line change 1+ FROM python:3.10-slim
2+ WORKDIR /app
3+ COPY app.py .
4+ CMD ["python" , "app.py" ]
Original file line number Diff line number Diff line change 1+ # Simple Dockerized Python App
2+
3+ This is a basic Python application that prints a message to the terminal, packaged inside a Docker container.
4+
5+ ## How to Run
6+
7+ 1 . Build the Docker image:
8+ ```
9+ docker build -t hello-docker .
10+ ```
11+
12+ 2 . Run the container:
13+ ```
14+ docker run hello-docker
15+ ```
16+
17+ Expected Output:
18+ ```
19+ Hello from inside a Docker container!
20+ ```
Original file line number Diff line number Diff line change 1+ print ("Hello from inside a Docker container!" )
You can’t perform that action at this time.
0 commit comments