Crear index.php
Browse files- Dockerfile +4 -0
- app/index.php +3 -0
Dockerfile
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM: php:8.2-cli
|
2 |
+
WORKDIR /rood
|
3 |
+
COPY ./app/ ./app/
|
4 |
+
CMD["php", "-S", "0.0.0.0.:7860", "./app/index.php"]
|
app/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
echo("<h1>Hola</h1>");
|
3 |
+
<?
|