don't use code to copy from docker context
This commit is contained in:
@@ -60,20 +60,16 @@ RUN sed -i '22a #include <ctime>' ./src/Util.h \
|
||||
RUN rm -rf /tmp/RALibretro
|
||||
|
||||
# Install frontend dependencies
|
||||
COPY frontend/package.json /app/code/frontend/
|
||||
WORKDIR /app/code/frontend
|
||||
RUN npm install
|
||||
|
||||
WORKDIR /app/code/
|
||||
# Install uv for the non-root user
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.7.19 /uv /uvx /usr/local/bin/
|
||||
|
||||
# Install Python
|
||||
RUN uv python install 3.13
|
||||
|
||||
|
||||
# Copy project files (including pyproject.toml and uv.lock)
|
||||
COPY pyproject.toml uv.lock* .python-version /app/code/
|
||||
|
||||
# Install Python dependencies
|
||||
RUN uv sync --all-extras
|
||||
|
||||
|
||||
Reference in New Issue
Block a user