skip to Main Content

how to correctly copy requirements.txt for docker file

This is how my current folder structure looks like: I am present in the FinTechExplained_Python_Docker folder. My Dockerfile looks like this: FROM python:3.8-slim-buster WORKDIR /src COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD [ "python",…

VIEW QUESTION
Back To Top
Search