Commit ed71d852 authored by Lambert Theisen's avatar Lambert Theisen 🔥

Try to avoid requirements copying in Dockerfile

parent c945e010
Pipeline #307326 failed with stages
in 40 seconds
......@@ -34,8 +34,22 @@ RUN \
# Install any needed packages specified in requirements.txt
# RUN pip install --trusted-host pypi.python.org -r requirements.txt
COPY requirements.txt /tmp/
RUN pip install --requirement /tmp/requirements.txt
# COPY requirements.txt /tmp/
RUN pip install \
# Program related
pyyaml>=5.1.1 \
cerberus>=1.3.1 \
pytest>=5.0.1 \
pytest-cov>_2.7.1 \
Sphinx>=2.1.2 \
sphinxcontrib-napoleon>=0.7 \
Pygments>=2.4.2 \
# IDE related (can be skipped)
pylint>=2.3.1 \
rope>=0.14.0 \
doc8>=0.8.0 \
autopep8>=1.4.4 \
pydocstyle>=4.0.1
# Install the fenicsR13 package (puts it into the PATH)
COPY . /tmp/
......@@ -43,4 +57,4 @@ RUN pip install --editable /tmp/.
# Replace default FEniCS Docker WELCOME screen with custom WELCOME screen
COPY WELCOME .
RUN echo "Built: $(date)" >> WELCOME
\ No newline at end of file
RUN echo "Built: $(date)" >> WELCOME
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment