redash/Dockerfile

14 lines
417 B
Docker
Raw Normal View History

FROM redash/base:latest
2015-09-30 21:19:22 +00:00
# We first copy only the requirements file, to avoid rebuilding on every file
# change.
COPY requirements.txt requirements_dev.txt requirements_all_ds.txt ./
RUN pip install -r requirements.txt -r requirements_dev.txt -r requirements_all_ds.txt
COPY . ./
2017-02-09 20:22:41 +00:00
RUN npm install && npm run build && rm -rf node_modules
RUN chown -R redash /app
USER redash
ENTRYPOINT ["/app/bin/docker-entrypoint"]