Skip to content

Commit

Permalink
Update to use venv
Browse files Browse the repository at this point in the history
  • Loading branch information
oblodgett committed Nov 14, 2023
1 parent 9459a5d commit d087a3d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG DOCKER_PULL_TAG=latest
ARG DOCKER_PULL_TAG=stage
ARG REG=agrdocker
FROM ${REG}/agr_base_linux_env:${DOCKER_PULL_TAG}
FROM ${REG}/agr_base_linux_env:stage

WORKDIR /usr/src/app

Expand All @@ -14,8 +14,10 @@ RUN mkdir download_molecular/tmp

ADD requirements.txt .

RUN pip3 install -r requirements.txt
RUN . /root/venv/bin/activate

RUN pip install -r requirements.txt

ADD . .

CMD ["python3", "-u", "src/aggregate_preprocessor.py"]
CMD ["python", "-u", "src/aggregate_preprocessor.py"]

0 comments on commit d087a3d

Please sign in to comment.