Spaces:
Runtime error
Runtime error
muestra de metodo 2
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,8 @@ RUN apt upgrade -y
|
|
| 4 |
RUN apt install -y openssh-server
|
| 5 |
RUN apt install -y apache2
|
| 6 |
RUN apt install -y php
|
|
|
|
|
|
|
| 7 |
RUN rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
COPY index.php index.php
|
|
|
|
| 4 |
RUN apt install -y openssh-server
|
| 5 |
RUN apt install -y apache2
|
| 6 |
RUN apt install -y php
|
| 7 |
+
RUN apt install -y curl
|
| 8 |
+
RUN curl -4 ifconfig.me
|
| 9 |
RUN rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
COPY index.php index.php
|