Skip to content

Commit

Permalink
Update dockerfile manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Feb 20, 2023
1 parent 81620ac commit eee40df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ ENV PYTHONUNBUFFERED 1
WORKDIR /app

# Copy repo contents
COPY setup.py setup.cfg requirements.txt LICENSE MANIFEST.in README.md .docker/run.sh ./
COPY setup.py pyproject.toml requirements.txt requirements-server.txt LICENSE MANIFEST.in README.md .docker/run.sh ./
COPY optimade ./optimade
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 -r requirements.txt -r requirements-server.txt \
&& pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org .[server]

# Setup server configuration
Expand Down

0 comments on commit eee40df

Please sign in to comment.