This commit is contained in:
jeanGaston 2024-01-29 16:59:48 +01:00
parent 543ed585fc
commit 569a15afa4
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ WORKDIR /app
# Copy the script1.py and any other necessary files # Copy the script1.py and any other necessary files
COPY ./Helloworld.py /app/ COPY ./Helloworld.py /app/
# Install any dependencies specific to script1.py # Install any dependencies
RUN pip install --no-cache-dir -r ./requirements.txt #RUN pip install --no-cache-dir -r ./requirements.txt
# Set the entry point # Set the entry point
CMD ["python", "Helloworld.py"] CMD ["python", "Helloworld.py"]

View File

@ -7,8 +7,8 @@ WORKDIR /app
# Copy the script1.py and any other necessary files # Copy the script1.py and any other necessary files
COPY ./Helloworld.py /app/ COPY ./Helloworld.py /app/
# Install any dependencies specific to script1.py # Install any dependencies
RUN pip install --no-cache-dir -r ./requirements.txt RUN pip install --no-cache-dir Flask==2.1.2
# Set the entry point # Set the entry point
CMD ["python", "Helloworld.py"] CMD ["python", "Helloworld.py"]