Skip to content

Commit

Permalink
Fix Containerfile path
Browse files Browse the repository at this point in the history
  • Loading branch information
chrowe authored Jul 31, 2024
1 parent ccfe5c6 commit d00c56e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 2 additions & 8 deletions container/Containerfile
Original file line number Diff line number Diff line change
@@ -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"
FROM ghcr.io/wri/wri-data-science-environment:latest
LABEL maintainer="Chris Rowe"

0 comments on commit d00c56e

Please sign in to comment.