diff --git a/Dockerfile b/Dockerfile index 4af1345..ddfe4de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM nginx:alpine [cite: 1] +FROM nginx:alpine -RUN rm -rf /usr/share/nginx/html/* +RUN rm -rf /usr/share/nginx/html/* COPY webapp/ /usr/share/nginx/html -COPY vhost.conf /etc/nginx/conf.d/default.conf +COPY vhost.conf /etc/nginx/conf.d/default.conf -EXPOSE 80 [cite: 1] +EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file