Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit 22ea504

Browse files
committed
Removing the specific aspects from the entrypoint
Signed-off-by: Peter Baker <peter.baker122@csiro.au>
1 parent 2a5d932 commit 22ea504

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ VOLUME ["/data/reefguide"]
132132

133133
EXPOSE 8000
134134

135-
# Run Julia commands by default as the container launches.
136-
# Derived applications should override the command.
137-
ENTRYPOINT ["julia", "--project=@reefguide", "-t", "auto,1", "-e", "using ReefGuideAPI; ReefGuideAPI.start_server(\"/data/reefguide/config.toml\")"]
135+
# By default, drops the user into a julia shell with ReefGuideAPI activated
136+
ENTRYPOINT ["julia", "--project=@reefguide", "-t", "auto,1", "-e"]
137+
138+
# Derived applications should override the command e.g. to start worker use
139+
# CMD ["using ReefGuideAPI; ReefGuideAPI.start_worker()"]
140+
141+
CMD ["using ReefGuideAPI; ReefGuideAPI.start_server(\"/data/reefguide/config.toml\")"]

0 commit comments

Comments
 (0)