Skip to content

Commit

Permalink
fix: docker uv command not found => load env vars afer uv install
Browse files Browse the repository at this point in the history
  • Loading branch information
herve.le-bars committed Oct 30, 2024
1 parent 98bdcaa commit 0393975
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ ENV PATH=/venv/bin:$PATH \
# Install UV
RUN curl -LsSf https://astral.sh/uv/install.sh | sh

RUN cd backend &&\
RUN . ~/.cargo/env &&\
cd backend &&\
uv venv &&\
echo ". /venv/bin/activate" >> /root/.bashrc &&\
uv sync
Expand Down

0 comments on commit 0393975

Please sign in to comment.