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 f42a44b commit b9a448d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@ RUN apt-get update && \
apt-get autoremove && \
rm -rf /var/lib/{apt,dpkg,cache,log}

# Set up working directory and copy in code
# Set up working directory
WORKDIR /app
COPY . .

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

# Copy input requirement and compile/install full requirements.txt
COPY requirements.in .
RUN uv pip compile requirements.in -o requirements.txt
RUN uv pip install -r requirements.txt --system

# Install DEA Intertidal and verify installation
# Copy remainder of files, install DEA Intertidal, and verify installation
COPY . .
RUN uv pip install . --system && \
uv pip check && \
dea-intertidal --help
dea-intertidal --help

0 comments on commit b9a448d

Please sign in to comment.