Skip to content

Commit

Permalink
replace with nico's hack
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Sep 21, 2023
1 parent 0d990a9 commit 15fec67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ RUN conda env create -n ${CONDA_ENV} -f requirements.yml

# Shrink conda environment into portable non-conda env
RUN conda install conda-pack -c conda-forge
RUN conda run -n ${CONDA_ENV} pip install zstandard --force-reinstall
# Hack to get zstandard from PyPI - remove if conda-forge linked lib issue is resolved
RUN conda run -n ${CONDA_ENV} pip uninstall zstandard -y \
&& conda run -n ${CONDA_ENV} pip install --no-cache-dir --no-deps zstandard==0.21.0
RUN conda-pack -n ${CONDA_ENV} --ignore-missing-files -o /tmp/env.tar \
&& mkdir -p /app/venv \
&& cd /app/venv \
Expand Down

0 comments on commit 15fec67

Please sign in to comment.