diff --git a/docker/web/Dockerfile b/docker/web/Dockerfile index c3a62174..7fb0bd68 100644 --- a/docker/web/Dockerfile +++ b/docker/web/Dockerfile @@ -3,11 +3,10 @@ ARG WEB_BASE_HREF=/ FROM centos/nodejs-${node_version}-centos7:${node_version} ENV WEB_BASE_HREF=${WEB_BASE_HREF} ENV WEB1_BASE_HREF=${WEB_BASE_HREF} -RUN ls -la WORKDIR /opt/app-root/src COPY ../../web . RUN echo "$WEB1_BASE_HREF" RUN echo "$WEB_BASE_HREF" -RUN npm install USER root +RUN npm install RUN npm run build \ No newline at end of file