Skip to content

Commit 3989274

Browse files
committed
fix
1 parent 0a26bf1 commit 3989274

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV LANG="C.UTF-8" \
77
PUID=1000 \
88
PGID=1000 \
99
UMASK=022 \
10-
PATH="/root/.cargo/bin:$PATH"
10+
PATH="/root/.local/bin:$PATH"
1111

1212
WORKDIR /app
1313

@@ -33,16 +33,20 @@ RUN set -ex && \
3333
tzdata && \
3434
# Install uv
3535
curl -LsSf https://astral.sh/uv/install.sh | sh && \
36+
# Verify uv installation and show version
37+
uv --version && \
38+
# Check if lock file exists and is readable
39+
ls -la uv.lock && \
3640
# Install dependencies using uv
37-
/root/.cargo/bin/uv sync --frozen --no-dev && \
41+
uv sync --frozen --no-dev && \
3842
# Add user
3943
mkdir -p /home/ab && \
4044
addgroup -S ab -g 911 && \
4145
adduser -S ab -G ab -h /home/ab -s /sbin/nologin -u 911 && \
4246
# Clear
4347
rm -rf \
4448
/root/.cache \
45-
/root/.cargo \
49+
/root/.local \
4650
/tmp/*
4751

4852
COPY --chmod=755 backend/src/. .

0 commit comments

Comments
 (0)