mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
install uv to correct dir
This commit is contained in:
@@ -63,16 +63,13 @@ RUN npm install
|
||||
WORKDIR /app
|
||||
|
||||
# Install uv for the non-root user
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
|
||||
# Make uv available to all users
|
||||
ENV PATH="/usr/local/bin:$HOME/.local/bin:${PATH}"
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" sh
|
||||
|
||||
# Copy project files (including pyproject.toml and uv.lock)
|
||||
COPY pyproject.toml uv.lock* .python-version /app/
|
||||
|
||||
# Install Python and project dependencies
|
||||
RUN uv install python 3.13
|
||||
RUN uv python install 3.13
|
||||
RUN uv sync --all-extras
|
||||
|
||||
# Copy entrypoint script
|
||||
|
||||
@@ -40,7 +40,7 @@ RUN apk add --no-cache \
|
||||
mariadb-connector-c-dev \
|
||||
musl-dev
|
||||
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" sh
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user