Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt authored Sep 3, 2024
1 parent 0e0a19d commit 0da3895
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,16 @@ RUN apt-get update && \
# Set up working directory
WORKDIR /app

COPY . .

# Install uv
RUN pip install uv

# Copy only requirements file first to leverage caching
# Copy requirements file first
COPY requirements.in .

# COPY requirements.in .

# Generate and install requirements
RUN uv pip compile requirements.in -o requirements.txt && \
# Install uv and requirements
RUN pip install uv && \
uv pip compile requirements.in -o requirements.txt && \
uv pip install -r requirements.txt --system

# # Copy the rest of the application code
# COPY . .
# Now copy the rest of the files
COPY . .

# Install DEA Intertidal and verify installation
RUN uv pip install . --system && \
Expand Down

0 comments on commit 0da3895

Please sign in to comment.