Remove Node.js infra

This commit is contained in:
John Wu
2015-10-06 11:12:13 -07:00
parent 11682b3779
commit 72e48a191b

View File

@@ -7,19 +7,4 @@ COPY . /opt/redash/current/
WORKDIR /opt/redash/current
RUN bash setup/bootstrap_docker.sh
# Build frontend sources
WORKDIR /opt/redash/current/rd_ui
USER redash
RUN mkdir -p /opt/redash/.npm/node_modules
RUN npm config set prefix /opt/redash/.npm/node_modules
RUN npm install -g bower
RUN npm install -g grunt-cli
RUN npm install
RUN /opt/redash/.npm/node_modules/bin/bower install
RUN /opt/redash/.npm/node_modules/bin/grunt build
# Reset working directory and user for future `docker attach` sessions
WORKDIR /opt/redash/current
USER root
CMD service redash_supervisord start