|
# 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 %} |
|
|