Skip to content

Commit 20ddc7d

Browse files
committed
chore: change notebook dir to workspace
1 parent cac8b83 commit 20ddc7d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docker/app/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ USER root
1717
WORKDIR /repo
1818

1919
COPY --from=source-tree /repo/pnpm-lock.yaml /repo/pnpm-lock.yaml
20+
COPY --from=source-tree /repo/.npmrc /repo/.npmrc
2021

2122
RUN pnpm fetch
2223

@@ -40,6 +41,8 @@ WORKDIR /root
4041

4142
COPY ./docker/app/root/scripts /root/scripts
4243

44+
RUN mkdir workspace
45+
4346
ENV SELF_PARTY=alice
4447
ENV ALL_PARTIES=alice
4548

docker/app/root/scripts/start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ ray start \
77
--disable-usage-stats \
88
--resources="{\"$SELF_PARTY\": 4}"
99

10-
secretnote --allow-root --no-browser
10+
secretnote --allow-root --no-browser --notebook-dir=/root/workspace

0 commit comments

Comments
 (0)