Fanny18 commited on
Commit
ba526b5
1 Parent(s): 7de4b85

crear index.php

Browse files
Files changed (3) hide show
  1. Dockerfile +4 -0
  2. README.md +1 -0
  3. app/index.php +3 -0
Dockerfile ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ FROM: php:8.2-cli
2
+ WORKDIR /root
3
+ COPY ./app/ ./app/
4
+ CMD ["php", "-S" "0.0.0.0:7860", "./app/index.php"]
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: red
6
  sdk: docker
7
  pinned: false
8
  license: cc-by-nc-nd-4.0
 
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
6
  sdk: docker
7
  pinned: false
8
  license: cc-by-nc-nd-4.0
9
+ app-port: 7860
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app/index.php ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ <?php
2
+ echo("<h1>Hola</h1>");
3
+ ?>