فهرست منبع

HUE-8839 [docker] Remove temporary redundant recompiling of webpack

Romain 6 سال پیش
والد
کامیت
77557b05ee
2فایلهای تغییر یافته به همراه1 افزوده شده و 9 حذف شده
  1. 1 0
      Makefile
  2. 0 9
      tools/docker/hue/Dockerfile

+ 1 - 0
Makefile

@@ -226,6 +226,7 @@ npm-install:
 	npm run webpack
 	npm run webpack-login
 	npm run webpack-workers
+	# Redundancy but needs to happen
 	./build/env/bin/hue collectstatic --noinput
 # END DEV ONLY >>>>
 

+ 0 - 9
tools/docker/hue/Dockerfile

@@ -51,15 +51,6 @@ RUN useradd -ms /bin/bash hue && chown -R hue /usr/share/hue
 
 WORKDIR  /usr/share/hue
 
-# Temp fix until npm-install target can use PREFIX in make install
-RUN cp /hue/package.json .
-RUN cp /hue/webpack.config*.js ./
-RUN npm install
-RUN npm run webpack
-RUN npm run webpack-login
-RUN npm run webpack-workers
-RUN ./build/env/bin/hue collectstatic --noinput
-
 RUN rm -rf /hue
 
 RUN ./build/env/bin/pip install psycopg2-binary