Skip to content

Commit

Permalink
Remove --force option from docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlees committed May 6, 2024
1 parent a094186 commit 77bc654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ WORKDIR $PROJECT_DIR
# build the conda environment
ENV ENV_PREFIX $PROJECT_DIR/env
RUN conda update --name base --channel defaults conda && \
conda env create --prefix $ENV_PREFIX --file /tmp/environment.yml --force && \
conda env create --prefix $ENV_PREFIX --file /tmp/environment.yml && \
conda clean --all --yes

# use an entrypoint script to insure conda environment is properly activated at runtime
Expand Down

0 comments on commit 77bc654

Please sign in to comment.