Skip to content

Commit

Permalink
#79 added cellxgene-data directory so it actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
alokito committed Dec 21, 2022
1 parent facfb27 commit f296efc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/customized_docker_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ ENV CELLXGENE_DATA=/cellxgene-data
ENV CELLXGENE_LOCATION=/usr/local/bin/cellxgene
EXPOSE 5005

RUN mkdir /cellxgene-data

CMD ["cellxgene-gateway"]
3 changes: 2 additions & 1 deletion examples/customized_docker_image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ This is a simple example of how to make a small script to customize the UI of ce

```
docker build -t cellxgene_custom .
docker run -p 5005:5005 cellxgene_custom
CELLXGENE_DATA=`pwd`/../../../cellxgene_data
docker run -p 5005:5005 --mount src=$CELLXGENE_DATA,target=/cellxgene-data,type=bind cellxgene_custom
```

If you now open http://localhost:5005 you should see a green cellxgene gateway header.
Expand Down

0 comments on commit f296efc

Please sign in to comment.