mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Remove Node.js infra
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user