Sign inSign up

sjdocker/nginx

By sjdocker

•Updated over 8 years ago

Image
0

888

sjdocker/nginx repository overview

⁠Dockerfile

FROM ubuntu:16.04

MAINTAINER SAJAL JAIN [email protected]⁠

⁠Install Nginx

RUN apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y
ca-certificates telnet net-tools nginx tzdata vim &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*

⁠Update Timezone Asia/Kolkata

RUN cp -vf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime &&
echo Asia/Kolkata | tee /etc/timezone

⁠Nginx Custom Conf

COPY nginx.conf /etc/nginx/

⁠Exposing Nginx

EXPOSE 80 443

⁠StartUp Script

COPY run.sh / RUN chmod +x /run.sh CMD ["/run.sh"]

Tag summary

Content type

Image

Digest

Size

83 MB

Last updated

over 8 years ago

docker pull sjdocker/nginx