@@ -21,6 +21,7 @@ Our original interactive analysis suite is currently hosted at: http://mlip-test
2121## Contents
2222- [ Getting started] ( #getting-started )
2323- [ Features] ( #features )
24+ - [ Docker Images] ( #docker-images )
2425- [ Development] ( #development )
2526- [ License] ( #license )
2627
@@ -45,11 +46,51 @@ To get all the latest changes, ML-PEG can be installed from GitHub:
4546python3 -m pip install git+https://github.com/ddmms/ml-peg.git
4647```
4748
49+
4850## Features
4951
5052Coming soon!
5153
5254
55+ ## Docker images
56+
57+ A Docker image with the latest changes can be pulled from the GitHub container
58+ registry, following the command that can be found under this repository's
59+ [ packages] ( https://github.com/ddmms/ml-peg/pkgs/container/ml-peg-app ) :
60+
61+ > [ !NOTE]
62+ > Currently, this repository only contains images for the linux/amd64 platform.
63+ > On MacOS with ARM silicon, this can often still be run by setting
64+ > ` --platform linux/amd64 ` when using ` docker run ` .
65+
66+
67+ Alternatively, to build the container yourself, you can use the
68+ [ Dockerfile] ( containers/Dockerfile ) provided. From the ` ml-peg ` directory, run:
69+
70+ ```
71+ docker build -t ml-peg-app -f containers/Dockerfile .
72+ ```
73+
74+
75+ Once built, you can mount your current application data and start the app by running:
76+
77+ ```
78+ docker run --volume ./ml_peg/app/data:/app/ml_peg/app/data --publish 8050:8050 ml-peg-app
79+ ```
80+
81+ > [ !TIP]
82+ > Ensure ` ml_peg/app/data ` is populated with results before running the container.
83+
84+
85+ Alternatively, you can use the [ compose.yml] ( containers/compose.yml ) file provided, via
86+ Docker Compose:
87+
88+ ```
89+ docker compose -f containers/compose.yml up -d
90+ ```
91+
92+ The app should now be accessible at http://localhost:8050 .
93+
5394## Development
5495
5596Please ensure you have consulted our
0 commit comments