perahh commited on
Commit
4d10dda
1 Parent(s): 43a17e3

MODIFICACION DE DOCKERFILE

Browse files
Files changed (2) hide show
  1. Dockerfile +5 -2
  2. app/index.php +1 -1
Dockerfile CHANGED
@@ -1,4 +1,7 @@
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"]
 
 
 
 
1
  FROM php:8.2-cli
2
+
3
  COPY ./app/ ./app/
4
+
5
+ EXPOSE 7860
6
+ WORKDIR app
7
+ CMD["php", "-S", "0.0.0.0.:7860"]
app/index.php CHANGED
@@ -1,3 +1,3 @@
1
  <?php
2
  echo("<h1>Hola</h1>");
3
- <?
 
1
  <?php
2
  echo("<h1>Hola</h1>");
3
+ ?>