Docker File
FROM labdocker/alpine:latest
MAINTAINER Praparn Lueangphoonlap ([email protected])
LABEL Description="NodeJS/NGINX Build Container" Version="1.0"
RUN apk update &&
apk add nginx
COPY nginx.conf /etc/nginx/nginx.conf
WORKDIR /usr/sbin
ENTRYPOINT ["nginx","-c","/etc/nginx/nginx.conf"]
EXPOSE 8080
Example to run: docker run -dt --name nginx labdocker/nginx:lab
Content type
Image
Digest
Size
9.4 MB
Last updated
about 5 years ago
docker pull labdocker/nginx