File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
1212WORKDIR /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
4852COPY --chmod=755 backend/src/. .
You can’t perform that action at this time.
0 commit comments