Dockerfile 311 B

12345678910111213141516171819202122
  1. #FROM python:3.10
  2. #
  3. #WORKDIR ./peoject
  4. #
  5. #COPY ./requirements.txt /app/requirement.txt
  6. #
  7. #
  8. #RUN set -eux \
  9. # && pip install --upgrade pip \
  10. # && pip install -r ./requirements.txt
  11. #
  12. #COPY . /project1
  13. FROM python:3.10
  14. WORKDIR /app
  15. COPY ./requirements.txt .
  16. RUN pip install -r requirements.txt
  17. COPY . .