Skip to content

Commit 35497f3

Browse files
committed
update docker entrypoint
1 parent 0b50a0f commit 35497f3

File tree

3 files changed

+2
-283
lines changed

3 files changed

+2
-283
lines changed

.github/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if [ "$1" = "serve" ]; then
3232
echo "Starting Autoshow server..."
3333
# Remove first arg ("serve") so we don't pass that to the server script.
3434
shift
35-
tsx --no-warnings --experimental-sqlite src/server/index.ts "$@" || log_error "Server failed to start"
35+
tsx --no-warnings --experimental-sqlite src/fastify.ts "$@" || log_error "Server failed to start"
3636
fi
3737

3838
# Otherwise, run the CLI by default.

docs/docker.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ You can run any of the `as` CLI commands by passing arguments to the container v
1313
```bash
1414
npm run docker-cli -- \
1515
--video "https://www.youtube.com/watch?v=MORMZXEaONk" \
16-
--whisper base \
17-
--ollama
16+
--whisper base
1817
```
1918

2019
### Run the Server with Docker
@@ -80,19 +79,6 @@ curl -X POST http://localhost:3000/process \
8079
}'
8180
```
8281

83-
```bash
84-
curl -X POST http://localhost:3000/process \
85-
-H "Content-Type: application/json" \
86-
-d '{
87-
"type": "video",
88-
"url": "https://www.youtube.com/watch?v=MORMZXEaONk",
89-
"llm": "ollama",
90-
"llmModel": "LLAMA_3_2_3B",
91-
"transcriptServices": "whisper",
92-
"whisperModel": "base"
93-
}'
94-
```
95-
9682
### Railway
9783

9884
Work in progress, still having issues getting the server to start on 3000.

docs/scripts.md

Lines changed: 0 additions & 267 deletions
This file was deleted.

0 commit comments

Comments
 (0)