entelecheia/hyperfast-docker-template

Install the Python requirements for the system (not for the user)

Closed this issue · 0 comments

# Sets the working directory to workspace root
WORKDIR $WORKSPACE_ROOT
{% if copy_scripts_dir -%}
# Copies scripts from host into the image
COPY ./.docker/scripts/ ./scripts/
{%- endif %}
{% if install_pip_requirements -%}
# Installs Python dependencies listed in requirements.txt
RUN `{{ pip_command }}` install -r ./scripts/requirements.txt
{%- endif %}