Spaces:
Sleeping
Sleeping
cambios para que funcione la app de index
Browse files- Dockerfile +0 -3
- app/index.php +1 -1
- entrypoint.sh +1 -1
Dockerfile
CHANGED
|
@@ -1,7 +1,4 @@
|
|
| 1 |
FROM debian:12.6
|
| 2 |
-
ENV SOLR_USER user
|
| 3 |
-
RUN groupadd -r $SOLR_USER && \
|
| 4 |
-
useradd -r -g $SOLR_USER $SOLR_USER &&
|
| 5 |
COPY ./app ./app
|
| 6 |
COPY entrypoint.sh entrypoint.sh
|
| 7 |
RUN chmod +x entrypoint.sh
|
|
|
|
| 1 |
FROM debian:12.6
|
|
|
|
|
|
|
|
|
|
| 2 |
COPY ./app ./app
|
| 3 |
COPY entrypoint.sh entrypoint.sh
|
| 4 |
RUN chmod +x entrypoint.sh
|
app/index.php
CHANGED
|
@@ -7,7 +7,7 @@ $nombre = "Norberto";
|
|
| 7 |
<html>
|
| 8 |
<h1>Welcome to my crazy page</h1>
|
| 9 |
<p>
|
| 10 |
-
Hello, my name is <?php echo $
|
| 11 |
</p>
|
| 12 |
|
| 13 |
</html>
|
|
|
|
| 7 |
<html>
|
| 8 |
<h1>Welcome to my crazy page</h1>
|
| 9 |
<p>
|
| 10 |
+
Hello, my name is <?php echo $nombre ?> and i'am <?php echo $edad ?> years old.
|
| 11 |
</p>
|
| 12 |
|
| 13 |
</html>
|
entrypoint.sh
CHANGED
|
@@ -7,6 +7,6 @@ apt -y install php
|
|
| 7 |
rm -rf /var/lib/apt/lists/*
|
| 8 |
pwd
|
| 9 |
ls -la
|
| 10 |
-
|
| 11 |
id
|
| 12 |
php -S 0.0.0.0:7860
|
|
|
|
| 7 |
rm -rf /var/lib/apt/lists/*
|
| 8 |
pwd
|
| 9 |
ls -la
|
| 10 |
+
whoamiz
|
| 11 |
id
|
| 12 |
php -S 0.0.0.0:7860
|