jkushwaha commited on
Commit
c4588ab
·
verified ·
1 Parent(s): 77b8786

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -1,4 +1,14 @@
1
- FROM python:3.7.9
 
 
 
 
 
 
 
 
 
 
2
  COPY requirements.txt /genome_inbound_automation/requirements.txt
3
  WORKDIR /genome_inbound_automation
4
  RUN pip install -r requirements.txt
 
1
+ # FROM python:3.7.9
2
+ FROM scratch
3
+
4
+ # Copy the Python 3.7.9 tarball file into the container
5
+ COPY python-3.7.9.tgz /python-3.7.9.tgz
6
+
7
+ # Extract the Python tarball
8
+ RUN tar -xzvf /python-3.7.9.tgz -C /
9
+
10
+ # Set the PATH environment variable to include Python
11
+ ENV PATH="/python-3.7.9/bin:${PATH}"
12
  COPY requirements.txt /genome_inbound_automation/requirements.txt
13
  WORKDIR /genome_inbound_automation
14
  RUN pip install -r requirements.txt