Skip to content

Commit

Permalink
Merge pull request #227 from EHDEN/imp/activate_dashboard_native_filters
Browse files Browse the repository at this point in the history
Activate dashboard native filters
  • Loading branch information
joaorafaelalmeida authored Apr 7, 2022
2 parents ed88b73 + 21e9f81 commit 1cbaad0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ x-depends-on: &depends-on
- redis

x-superset-volumes: &superset-volumes
- ../superset/repo/docker:/app/docker
- superset_home:/app/superset_home
x-superset-environment: &superset-environment
CYPRESS_CONFIG: "false"
Expand Down
7 changes: 4 additions & 3 deletions superset/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ RUN mkdir -p ${PYTHONPATH} \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*

# Copying default configs. No need for a volume
COPY ./repo/docker/pythonpath_dev/superset_config.py ${PYTHONPATH}
# Copying configs. No need for a volume
COPY ./repo/docker/pythonpath_dev/superset_config.py ./superset_config_docker.py /app/pythonpath_docker/

COPY --from=superset-py /usr/local/lib/python3.7/site-packages/ /usr/local/lib/python3.7/site-packages/
# Copying site-packages doesn't move the CLIs, so let's copy them one by one
Expand All @@ -108,7 +108,8 @@ RUN cd /app \
&& pip install -e .

COPY ./repo/docker/docker-entrypoint.sh /usr/bin/
COPY ./repo/docker/docker-bootstrap.sh /usr/bin/
# copy scripts to start containers to avoid volumes
COPY ./repo/docker/docker-bootstrap.sh ./repo/docker/docker-init.sh ./repo/docker/docker-entrypoint.sh /app/docker/

WORKDIR /app

Expand Down
3 changes: 3 additions & 0 deletions superset/superset_config_docker.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FEATURE_FLAGS = {
"DASHBOARD_NATIVE_FILTERS": True,
}

0 comments on commit 1cbaad0

Please sign in to comment.