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

Commit d9e2ddb

Browse files
author
Luke Hinds
authored
Merge pull request #342 from stacklok/create-models-dir
Create models directory under codegate_volume
2 parents 56b363a + 8cc4b8c commit d9e2ddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ start_dashboard() {
3535
# Function to start the main application
3636
start_application() {
3737
# first restore the models
38+
mkdir -p /app/codegate_volume/models
3839
cp /app/default_models/* /app/codegate_volume/models
3940
CMD_ARGS="--port 8989 --host 0.0.0.0 --model-base-path $MODEL_BASE_PATH --db-path $CODEGATE_DB_FILE"
4041

@@ -66,4 +67,4 @@ genrerate_certs
6667
start_dashboard
6768

6869
# Step 4: Start the main application
69-
start_application
70+
start_application

0 commit comments

Comments
 (0)