Polish Dockerfile uv sync instructions
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/7a547c09-9817-47a6-979e-c19cbcaa4c08 Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e8a26f497e
commit
36046ef816
+2
-3
@@ -4,11 +4,10 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml /app/
|
||||
COPY uv.lock /app/
|
||||
COPY pyproject.toml uv.lock /app/
|
||||
RUN apk --no-cache update && apk --no-cache upgrade
|
||||
RUN pip install --no-cache-dir uv
|
||||
RUN uv sync --no-dev --no-install-project
|
||||
RUN uv sync --no-dev --no-install-project # Instala solo dependencias, no el paquete local
|
||||
|
||||
COPY . /app/
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user