chartManD commited on
Commit
7e106ac
·
1 Parent(s): b9cf496

muestra de metodo 2

Browse files
Files changed (1) hide show
  1. 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