#79 added cellxgene-data directory so it actually works

This commit is contained in:
Alok Saldanha
2022-12-21 16:02:50 -05:00
parent facfb27d5c
commit f296efcc55
2 changed files with 4 additions and 1 deletions

View File

@@ -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"]

View File

@@ -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.