Dockerfile 330 B

1234567891011121314
  1. # The image to use
  2. FROM nginx:latest
  3. # The internal port number
  4. EXPOSE 80
  5. RUN apt-get update && apt-get install -y vim
  6. # Just information for container users
  7. LABEL maintainer="Frederic G. MARAND <fgm@osinet.fr>"
  8. # Does NOT create the volume, but tips the use that they probably want to map this.
  9. VOLUME /usr/share/nginx/html