# FROM python:3.7.9 FROM scratch # Copy the Python 3.7.9 tarball file into the container COPY python-3.7.9.tgz /python-3.7.9.tgz # Extract the Python tarball RUN tar -xzvf /python-3.7.9.tgz -C / # Set the PATH environment variable to include Python ENV PATH="/python-3.7.9/bin:${PATH}" COPY requirements.txt /genome_inbound_automation/requirements.txt WORKDIR /genome_inbound_automation RUN pip install -r requirements.txt RUN sed -i 's/