Sign inSign up

eswonder/php-hello-world

By eswonder

Updated almost 2 years ago

PHP-hello-world

Image
Languages & frameworks
0

131

eswonder/php-hello-world repository overview

PHP Hello World

README.md for JV_Hellow

This repository contains a simple PHP program that prints "Hello World" to the console.

Description

The PHP program prints the message "Hello World" to the console, serving as a basic example of PHP syntax and structure.

Requirements

  • Language: PHP 7.4
  • Requirements: PHP CLI (Command Line Interface)

How to Clone and Run

To clone this repository to your local machine, use the following commands:

git clone https://github.com/<your-username>/JV_Hellow.git
cd JV_Hellow

To run the program locally, use:

php holamundo.php

Dockerization

Step 1: Build the Docker Image

docker build -t php-hello-world .

Step 2: Tag the Image

docker tag php-hello-world eswonder/php-hello-world:latest

Step 3: Push the Image to Docker Hub

docker push eswonder/php-hello-world:latest

https://hub.docker.com/r/eswonder/php-hello-world

License

This repository is available under the MIT License.

Remember to replace <your-user> with your GitHub or Docker Hub username. This README.md file provides all the steps and information needed to clone, run, and dockerize the project.

Tag summary

Content type

Image

Digest

sha256:108d73f1c

Size

158.7 MB

Last updated

almost 2 years ago

docker pull eswonder/php-hello-world