as usual
This commit is contained in:
@@ -7,8 +7,8 @@ WORKDIR /app
|
||||
# Copy the script1.py and any other necessary files
|
||||
COPY ./Helloworld.py /app/
|
||||
|
||||
# Install any dependencies specific to script1.py
|
||||
RUN pip install --no-cache-dir -r ./requirements.txt
|
||||
# Install any dependencies
|
||||
#RUN pip install --no-cache-dir -r ./requirements.txt
|
||||
|
||||
# Set the entry point
|
||||
CMD ["python", "Helloworld.py"]
|
||||
+2
-2
@@ -7,8 +7,8 @@ WORKDIR /app
|
||||
# Copy the script1.py and any other necessary files
|
||||
COPY ./Helloworld.py /app/
|
||||
|
||||
# Install any dependencies specific to script1.py
|
||||
RUN pip install --no-cache-dir -r ./requirements.txt
|
||||
# Install any dependencies
|
||||
RUN pip install --no-cache-dir Flask==2.1.2
|
||||
|
||||
# Set the entry point
|
||||
CMD ["python", "Helloworld.py"]
|
||||
|
||||
Reference in New Issue
Block a user