FROM nginx ## Remove default nginx index page RUN rm -rf /usr/share/nginx/html/* RUN apt-get update \ && apt upgrade -y \ && apt-get install nodejs npm -y WORKDIR /usr/share/nginx/html COPY . . RUN cp nginx.conf /etc/nginx/nginx.conf