Skip to content

Commit

Permalink
Use pinned requirements in Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Aug 30, 2022
1 parent 70e177a commit d7a434c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ COPY providers/src/links/v1/providers.json ./optimade/server/data/
RUN apt-get purge -y --auto-remove \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir --trusted-host pypi.org --trusted-host files.pythonhosted.org -U pip setuptools wheel flit \
&& pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements.txt \
&& pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org .[server]

# Setup server configuration
Expand Down

0 comments on commit d7a434c

Please sign in to comment.