title: How to run a bash script from dockerfile
body: <p>I am using a bash script (<code>run.sh</code>) to run a python file (<code>calculate_ssp.py</code>). The code is working fine. The folder structure is given below</p>
  <pre><code>├── dataset
      └── dataset_1.csv
  ├── Dockerfile
  ├── __init__.py
  ├── output
  ├── run.sh
  ├── scripts
  │   ├── calculate_ssp.py
  │   ├── __init__.py
  </code></pre>
  <p>The bash script is</p>
  <pre><code>#!/bin/bash
  
  python3 -m scripts.calculate_ssp 0.5
  </code></pre>
  <p>Now, I am trying to run the bash script (<code>run.sh</code>) from the <code>Dockerfile</code>. The content of the Dockerfile is</p>
  <pre><code>#Download base image ubuntu 20.04
  FROM ubuntu:20.04
  
  #Download python
  FROM python:3.8.5
  
  ADD run.sh .
  
  RUN pip install pandas
  RUN pip install rdkit-pypi
  
  CMD [&quot;bash&quot;, &quot;run.sh&quot;]
  </code></pre>
  <p>But, I am getting an error <code>/usr/local/bin/python3: Error while finding module specification for 'scripts.calculate_ssp' (ModuleNotFoundError: No module named 'scripts')</code></p>
  <p>Could you tell me why I am getting the error (as the code is working fine from the bash script)?</p>