Sign inSign up

side/node-nginx

By side

Updated 10 months ago

Basic node + nginx base image

Image
1

10K+

side/node-nginx repository overview

NODE+NGINX Docker image

How to use

Copy your nginx configuration in the nginx folder

COPY nginx.conf /etc/nginx/nginx.conf

Then copy the result of your build into /usr/share/nginx/html

COPY build/* /usr/share/nginx/html/.

Finally, run nginx in your entrypoint:

ENTRYPOINT ["nginx", "-g", "daemon off;"]

Tag summary

Content type

Image

Digest

Size

26.7 MB

Last updated

about 7 years ago

docker pull side/node-nginx