Skip to content

Commit

Permalink
comp-cell-1-zhanqing2016-gmail-com creation
Browse files Browse the repository at this point in the history
  • Loading branch information
qcdis-bot committed Sep 9, 2024
1 parent 56f198a commit 35d3fd8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions comp-cell-1-zhanqing2016-gmail-com/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ghcr.io/qcdis/naavre/naavre-cell-build-lter-life-wadden:v0.17 AS build
COPY --chown=$MAMBA_USER:$MAMBA_USER environment.yaml .
RUN micromamba install -y -n venv -f environment.yaml
ARG MAMBA_DOCKERFILE_ACTIVATE=1
USER root
RUN conda-pack -p /opt/conda/envs/venv -o /tmp/env.tar && \
mkdir /venv && cd /venv && tar xf /tmp/env.tar && \
rm /tmp/env.tar
RUN /venv/bin/conda-unpack

FROM ghcr.io/qcdis/naavre/naavre-cell-runtime-lter-life-wadden:v0.17 AS runtime
COPY --from=build /venv /venv
WORKDIR /app
COPY . .

0 comments on commit 35d3fd8

Please sign in to comment.