as usual
This commit is contained in:
parent
543ed585fc
commit
569a15afa4
@ -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"]
|
||||
@ -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"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user