Skip to content

Commit

Permalink
moved copy into correct image
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibbelink committed Nov 29, 2023
1 parent 4deaa86 commit bc51f4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ ARG ubuntu_version=22.04

FROM ghcr.io/cyclus/cycamore_${ubuntu_version}_${pkg_mgr}/cycamore as cycamore

COPY . /cymetric
WORKDIR /cymetric

FROM cycamore as apt-deps
RUN apt update --fix-missing && apt install -y python3-pip python3-pytest

FROM cycamore as conda-deps
RUN mamba install -y pip pytest

FROM ${pkg_mgr}-deps as cymetric
COPY . /cymetric
WORKDIR /cymetric
RUN python -m pip install --target $(python -m site --user-site) .

FROM cymetric as cymetric-pytest
Expand Down

0 comments on commit bc51f4a

Please sign in to comment.