Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejgray committed Dec 22, 2023
1 parent cba09bb commit c83c332
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 66 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/publish_test_websat_build.yml

This file was deleted.

6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ COPY docker_overlay/ /
# Expose port 8000 for websat
EXPOSE 8000

ENTRYPOINT ["iris"]
# Set the ARG value as an environment variable
ENV EXTRAS=${EXTRAS}

# Default command
CMD ["-h"]
ENTRYPOINT ["/neon_iris/entrypoint.sh"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ iris:
webui_title: Neon AI
webui_description: Chat with Neon
webui_input_placeholder: Ask me something
webui_ws_url: wss://neonaialpha.com:8000/ws
webui_ws_url: wss://neonaialpha.com/ws
```

### Customization
Expand Down
11 changes: 11 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -e

if [ "$EXTRAS" = "gradio" ]; then
exec iris start-gradio
elif [ "$EXTRAS" = "web_sat" ]; then
exec iris start-websat
else
echo "No extras specified, showing help. To execute a command, use 'docker run iris <command>'"
exec iris -h
fi

0 comments on commit c83c332

Please sign in to comment.