由于找不到文件错误而无法运行Docker映像

我在运行Docker映像时遇到以下错误:

FileNotFoundError:[错误2]文件../data/input.csv不存在:'../data/input.csv'

我的dockerfile

FROM python:3.7.2-slim
WORKDIR /usr/src/app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . /usr/src/app
RUN chmod a+x start.sh
CMD ["./start.sh"]

Shell脚本-start.sh

#!/bin/bash
python ./data/generate_data.py
python ./src/main.py

Ideally the commands should run generate_data.py first to generate the data, in this case input.csv and then run main.py which uses input.csv.

显然,脚本无法正常运行,因此无法创建数据。我不知道我的dockerfile是否有任何错误。

My directory structure