diff --git a/README.md b/README.md index 4afecd70ea2092e76cd6139b1bc8f372fa2f0bb4..0b9555c673d5bca1b71cbc19223ea30c4482695a 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,26 @@ This docker file is designed to create an image for a galaxy server running the Pipeline for affinity proteomics - **APOSTL**. ## Usage -To build the image run in the folder with the Dockerfile: +To build the image clone the project using: ```sh +git clone <link to this repo> +``` + +afterwards you can build the docker image with the Dockerfile: + +```sh +cd CLOUD-apostl-galaxy docker build -t galaxy-apostl . ``` -This will create a docker image that can be run. The image contains all libraries -and R-packages that are needed for the APOSTL pipeline. +This will create a docker image that can be run, immediately. The image contains +all libraries and R-packages that are needed for the APOSTL pipeline. To run the server execute: ```sh -docker run -d -i -t -p 8080:80 -p 8022:22 -v /home/ubuntu/galaxy_storage/:/export/ galaxy-apostl +docker run -d -i -t -p 80:80 -p 8022:22 -v /home/ubuntu/galaxy_storage/:/export/ galaxy-apostl ``` this will mount the image and the galaxy website will be accessible on port -8080 (localhost:8080) and a sftp server will run on 8022. \ No newline at end of file +80 (localhost) and a sftp server will run on 8022. \ No newline at end of file