Skip to content

Commit 6a90f1d

Browse files
committed
Fix symlink for opencode data directory in entrypoint script
1 parent c47ade5 commit 6a90f1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ create_directories() {
4141
# Symlink for opencode data directory (auth.json, logs, etc.)
4242
mkdir -p /home/node/.local/share
4343
if [ ! -L /home/node/.local/share/opencode ]; then
44-
ln -sf "$DATA_DIR/opencode" /home/node/.local/share/opencode
44+
ln -sf "$OPENCODE_DIR" /home/node/.local/share/opencode
4545
fi
4646

4747
echo "Directory structure created successfully."

0 commit comments

Comments
 (0)