Advertisement
Sergio_Istea

debian apache2 Dockerfile

Nov 7th, 2024 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. FROM debian:latest
  2.  
  3. RUN apt update && apt install apache2 -y
  4.  
  5. COPY index.html /var/www/html
  6.  
  7. WORKDIR /var/www/html
  8.  
  9. EXPOSE 80
  10.  
  11. CMD [ "apache2ctl", "-D", "FOREGROUND" ]
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement