A minimal Docker image based on Alipine Linux running nginx (size: 6.5 MB)
279
A minimal Docker image based on Alipine Linux running nginx.
docker run -t -i -d -p 8080:80 philcryer/min-nginx
curl localhost:8080
Pass in your own html files when you issue the above command.
I need to have this in github so I can setup automated builds, but until then, in the interest of transparency, here ya go:
FROM gliderlabs/alpine:3.1
MAINTAINER Phil Cryer <[email protected]>
RUN apk-install nginx \
&& mkdir -p usr/html \
&& rm /usr/html/index.html \
&& mkdir -p /tmp/nginx/client-body
COPY index.html /usr/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Content type
Image
Digest
sha256:34cda4124…
Size
2.7 MB
Last updated
almost 11 years ago
docker pull philcryer/min-nginx