From d00c56e08d6a63c1757e7bd951abac841706c393 Mon Sep 17 00:00:00 2001 From: Chris Rowe Date: Wed, 31 Jul 2024 15:38:07 -0400 Subject: [PATCH] Fix Containerfile path --- .github/workflows/build-image.yml | 2 +- container/Containerfile | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 86492bc..33341b9 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -31,7 +31,7 @@ jobs: image: wri-cities-cif-environment tags: latest ${{ env.VERSION }} ${{ github.sha }} containerfiles: | - ./Containerfile + ./container/Containerfile - name: Push image to container registry id: push-image-to-registry uses: redhat-actions/push-to-registry@v2 diff --git a/container/Containerfile b/container/Containerfile index 491ed8c..2ad0631 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -1,8 +1,2 @@ -FROM condaforge/miniforge3:latest -LABEL maintainer="Chris Rowe" -WORKDIR /src/ -COPY environment.yml . -RUN true && \ - mamba env create -f environment.yml && \ - echo "source activate cities-cif" > "$HOME/.bashrc" -ENV PATH "/src:/opt/conda/envs/cities-cif/bin:$PATH" \ No newline at end of file +FROM ghcr.io/wri/wri-data-science-environment:latest +LABEL maintainer="Chris Rowe" \ No newline at end of file