ndcn / omicser

The NDCN omics browser app for browsing and sharing general omics data.
https://ndcn.github.io/omicser
Other
3 stars 3 forks source link

omicers::run_docker is not an exported object #151

Closed bsenf27 closed 2 years ago

bsenf27 commented 2 years ago

HI "omicser"

Describe the bug Running the "omicser" docker container based on Dockerfile did not work:

> options('shiny.port'=3939,shiny.host='0.0.0.0');omicser::run_docker()
Error: 'run_docker' is not an exported object from 'namespace:omicser'
Execution halted

To Reproduce

docker build -t omicser -f Dockerfile .
docker run --rm -p 3939:3939 -v /mydata/omicser:/root/DB omicser

Expected behavior My workaround:

  sed -e 's/run_docker/run_app/' < Dockerfile > Dockerfile.mod
  docker build -t omicser -f Dockerfile.mod .
  docker run -d -v /data/omicser/:/root/DB/ -p 3939:3939 omicser
  # container-id

Bernd

ricoderks commented 2 years ago

Hi,

I'll have a look at this.

Cheers, Rico

ricoderks commented 2 years ago

@ergonyc I checked this and I noticed that the run_docker functions has dissapeared from run_app.R. Do you know if this happened intentionally?

Cheers, Rico

ergonyc commented 2 years ago

@ricoderks It was unintentional to miss the run_docker().