#FROM dockerfile/ubuntu FROM ubuntu:14.04
RUN
apt-get install -y software-properties-common &&
add-apt-repository -y ppa:nginx/stable &&
apt-get update &&
apt-get install -y nginx &&
rm -rf /var/lib/apt/lists/* &&
echo "\ndaemon off;" >> /etc/nginx/nginx.conf &&
chown -R www-data:www-data /var/lib/nginx
VOLUME ["/etc/nginx/sites-enabled", "/etc/nginx/certs", "/etc/nginx/conf.d", "/var/log/nginx", "/var/www/html"]
WORKDIR /etc/nginx
CMD ["nginx"]
EXPOSE 80 EXPOSE 443
Content type
Image
Digest
sha256:90e07991d…
Size
90.2 MB
Last updated
almost 11 years ago
docker pull bmcbm/ft15test