Sample static html app with nginx
94
Dockerfile:
FROM nginx:alpine
RUN apk add --no-cache git
RUN rm -rf /usr/share/nginx/html/*
RUN git clone https://github.com/technext/novena.git /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Build : docker build -t static-website:latest .
Run : docker run -d -p 80:80 static-website:latest
Content type
Image
Digest
sha256:d85a59115…
Size
32.1 MB
Last updated
over 1 year ago
docker pull mohanbalakrishnan/static-website