redash-stmo/Dockerfile

22 строки
652 B
Docker
Исходник Обычный вид История

2020-04-23 00:59:51 +03:00
FROM redash/redash:preview
2018-08-08 19:28:25 +03:00
ENV PATH="/home/redash/.local/bin:$PATH" \
2019-11-18 15:54:32 +03:00
PYTHONUNBUFFERED=0 \
2019-05-27 14:59:00 +03:00
REDASH_HOST="localhost:5000"
2018-08-08 19:28:25 +03:00
USER root
RUN apt-get update -yq \
&& apt-get install curl gnupg libecpg-dev -yq \
&& curl -sL https://deb.nodesource.com/setup_10.x | bash \
&& apt-get install nodejs -yq
2019-02-26 13:56:11 +03:00
RUN pip uninstall -qy redash-stmo \
2019-11-18 15:54:32 +03:00
&& pip install -U pip virtualenv
RUN mkdir -p /home/redash/.cache /home/redash/.local /app/node_modules && \
2019-11-18 15:54:32 +03:00
chown -R redash /home/redash/.cache /home/redash/.local /app/node_modules
2019-06-13 21:03:37 +03:00
COPY . /extension
RUN chown -R redash /extension
2018-08-08 19:28:25 +03:00
USER redash
2019-02-26 13:56:11 +03:00
ENTRYPOINT ["/extension/bin/docker-entrypoint"]