Skip to content

Commit

Permalink
fix docker run command
Browse files Browse the repository at this point in the history
  • Loading branch information
obigriffith committed Aug 23, 2024
1 parent 97fd2b3 commit df4f360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To install the site locally with docker run the following commands:

1. Clone the repo `$ git clone [email protected]:griffithlab/griffithlab.org.git`
2. Pull the docker image `$ docker pull griffithlab/griffithlabdev:0.0.1`
3. Run the docker `$ docker run -p 4000:4000 -v ~/git/griffithlab.org/:/opt/git/griffithlab.org -it griffithlab/griffithlabdev:0.0.2`
3. Run the docker `$ docker run -p 4000:4000 -v ~/git/griffithlab.org/:/opt/git/griffithlab.org -it griffithlab/griffithlabdev:0.0.1`

Make sure that the above command has correct path to cloned git repo (The first part specified with -v option). The site should now be running on localhost port 4000. Changes to files will show up interactively on localhost:4000.

Expand Down

0 comments on commit df4f360

Please sign in to comment.