Skip to content

Commit 7258d8f

Browse files
authored
fix: issue #589 (#590)
* fix: issue #589 Signed-off-by: yihong0618 <[email protected]> * fix: use only one docker Signed-off-by: yihong0618 <[email protected]> * fix: update lock Signed-off-by: yihong0618 <[email protected]> * fix: update another requirements Signed-off-by: yihong0618 <[email protected]> --------- Signed-off-by: yihong0618 <[email protected]>
1 parent 2c87e38 commit 7258d8f

File tree

4 files changed

+175
-139
lines changed

4 files changed

+175
-139
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,4 @@ config/
138138
*.sh
139139
nohup.out
140140
xiao_config.yaml
141+
.DS_Store

Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
FROM python:3.12 AS builder
2-
WORKDIR /app
3-
COPY . .
4-
RUN pip install pdm && \
5-
pdm install
6-
71
FROM python:3.12
82

93
WORKDIR /app
10-
COPY --from=builder /app/.venv /app/.venv
114
COPY . .
125

6+
RUN pip install pdm && \
7+
pdm install --no-self
8+
139
ENV XDG_CONFIG_HOME=/config
1410
ENV XIAOGPT_PORT=9527
1511
VOLUME /config

0 commit comments

Comments
 (0)