Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre authored Oct 10, 2024
1 parent d25191e commit 2964f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_slug}}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ WORKDIR /code

# Create conda environment
COPY environment.yml .
RUN conda env create -n {{ cookiecutter.project_name }} -f environment.yml && conda install -n gunicorn && conda clean --all --yes
RUN conda env create -n {{ cookiecutter.project_name }} -f environment.yml && conda install -n {{ cookiecutter.project_name }} gunicorn && conda clean --all --yes

# Add the project conda environment to the path
ENV PATH=/opt/conda/envs/rook/bin:$PATH
ENV PATH=/opt/conda/envs/{{ cookiecutter.project_name }}/bin:$PATH

# Copy WPS project
COPY . /code
Expand Down

0 comments on commit 2964f01

Please sign in to comment.