nginx.dockerfile 353 B

12345678910111213
  1. FROM ubuntu:16.04
  2. ARG DEBIAN_FRONTEND=noninteractive
  3. RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
  4. RUN LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/nginx-mainline
  5. #RUN add-apt-repository -y ppa:nginx/development
  6. RUN apt-get update -yqq
  7. RUN apt-get install -y nginx-light
  8. ADD ./ ./
  9. CMD nginx -c /nginx.conf