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

Commit c59ce31

Browse files
committed
fix: env
1 parent e116d72 commit c59ce31

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
API_KEY=
2+
ONEBOT_V11_WS_URLS=
3+
ONEBOT_V11_ACCESS_TOKEN=

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ COPY --from=builder /app/.venv ./.venv
2020

2121
COPY ./src ./src
2222
COPY ./pyproject.toml ./pyproject.toml
23-
24-
RUN echo "API_KEY=" >> .env
25-
RUN echo "ONEBOT_V11_WS_URLS=" >> .env
26-
RUN echo "ONEBOT_V11_ACCESS_TOKEN=" >> .env
23+
COPY ./env.example ./.env
2724

2825
CMD ["/bin/sh", "-c", "source .venv/bin/activate && nb run"]
29-

0 commit comments

Comments
 (0)