Skip to content

Commit

Permalink
cleaning this up a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Aug 7, 2024
1 parent 1208aaf commit 008f836
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.11-slim-bullseye

ENV PIP_ROOT_USER_ACTION=ignore

RUN apt-get -y update && apt-get upgrade -y && apt-get install -y unzip wget

WORKDIR /opt/build
Expand All @@ -8,8 +10,7 @@ RUN /opt/build/install_pplacer.sh /usr/local

COPY setup.py MANIFEST.in README.rst requirements.txt /opt/build/
COPY taxtastic /opt/build/taxtastic/
RUN python3 -m pip install --root-user-action=ignore --upgrade pip && \
python3 -m pip install --constraint requirements.txt --root-user-action=ignore .
RUN pip3 install --upgrade pip && pip3 install --requirement requirements.txt .

WORKDIR /opt/run
RUN mkdir -p /app /fh /mnt /run/shm
Expand Down

0 comments on commit 008f836

Please sign in to comment.