理解一个 Dockerfile
下面给出了一个没有注释解释各条 Docker 指令的 Dockerfile。请阅读并理解该 Dockerfile。
FROM python:3.10
COPY . .
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "hello_world.py"]
本练习是课程的一部分
下面给出了一个没有注释解释各条 Docker 指令的 Dockerfile。请阅读并理解该 Dockerfile。
FROM python:3.10
COPY . .
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "hello_world.py"]
本练习是课程的一部分