This repository hosts a simple "Hello World" project in Python, designed to run both locally and within a Docker container. The project has a basic structure that supports straightforward deployment and testing across platforms like Docker Hub and Render.
Project Structure
File Descriptions Dockerfile: This file defines the steps required to set up and run the application in a Docker environment. It pulls the python:3.9-slim base image, sets the working directory to /app, copies the Hola_Mundo.py file into the container, and defines the default command to run the Python script.
Python/Hola_Mundo.py: A straightforward Python script that, when executed, prints "Hello, World!" to the console. It serves as the core application file and verifies that the environment is properly configured.
.dockerignore: Helps optimize the Docker build by excluding unnecessary files and directories, reducing image size and build time.
Content type
Image
Digest
sha256:453142112…
Size
45.4 MB
Last updated
almost 2 years ago
docker pull carlosdhc333/python-holamundo:v1