Skip to content

Commit

Permalink
Changes to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjvs committed Nov 15, 2024
1 parent caf7aaa commit 0a16e9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean && \
rm -rf /var/cache/apt/* && \
pip install --upgrade pip && \
pip install --upgrade uv
pip install --no-cache-dir --no-warn-script-location --root-user-action=ignore \
--upgrade pip uv

# Copy dependency files
COPY pyproject.toml ./
# Copy all project files needed for installation
COPY pyproject.toml diun2homer.py ./

# Create virtual environment and install dependencies
RUN python -m venv .venv && \
. .venv/bin/activate && \
uv pip install -e .
uv pip install .

# Final stage
FROM python:3.11-slim
Expand Down

0 comments on commit 0a16e9c

Please sign in to comment.