Skip to content

Commit

Permalink
Revert coverage copy, use pre-gen requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Dec 19, 2023
1 parent 70229b1 commit 0cd0ec8
Show file tree
Hide file tree
Showing 3 changed files with 732 additions and 10 deletions.
19 changes: 14 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,23 @@ RUN apt-get update && \
apt-get autoremove && \
rm -rf /var/lib/{apt,dpkg,cache,log}

# Install pip-tools
RUN pip install pip-tools
# # Install pip-tools
# RUN pip install pip-tools

# # Pip installation
# RUN mkdir -p /conf
# COPY requirements.in /conf/
# RUN pip-compile --extra-index-url=https://packages.dea.ga.gov.au/ --output-file=/conf/requirements.txt /conf/requirements.in
# RUN pip install -r /conf/requirements.txt

#### TEMPORARY TEST

# Pip installation
RUN mkdir -p /conf
COPY requirements.in /conf/
RUN pip-compile --extra-index-url=https://packages.dea.ga.gov.au/ --output-file=/conf/requirements.txt /conf/requirements.in
RUN pip install -r /conf/requirements.txt
COPY requirements-testing.txt /conf/
RUN pip install -r /conf/requirements-testing.txt

#### TEMPORARY TEST

# Copy source code and install it
RUN mkdir -p /code
Expand Down
Loading

0 comments on commit 0cd0ec8

Please sign in to comment.