Skip to content

Commit

Permalink
fix dockerfile (#93)
Browse files Browse the repository at this point in the history
* fix conda version spec

* use conda environment.yml in docker build
  • Loading branch information
cehbrecht authored Jun 19, 2020
1 parent 317c4fb commit 5351c2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_repo_name}}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY . /opt/wps
WORKDIR /opt/wps

# Create conda environment with PyWPS
RUN conda create -n wps -c conda-forge python=3.7 pywps=4.2
RUN ["conda", "env", "create", "-n", "wps", "-f", "environment.yml"]

# Install WPS
RUN ["/bin/bash", "-c", "source activate wps && python setup.py install"]
Expand Down
8 changes: 0 additions & 8 deletions {{cookiecutter.project_repo_name}}/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,3 @@ dependencies:
- psutil
# tests
- pytest
- pytest-notebook
- bump2version
- ipython
- nbsphinx
- nbval
- nbconvert
#- pip:
# - -e git+https://github.com/geopython/pywps@master#egg=pywps

0 comments on commit 5351c2f

Please sign in to comment.