From dce3a6e16f88814d4fd12f1c8e4286e12b68deea Mon Sep 17 00:00:00 2001 From: Aliyan khan <149932832+itachi2303@users.noreply.github.com> Date: Sat, 23 Nov 2024 13:34:25 +0500 Subject: [PATCH] Update Dockerfile hey, I am a student i think you might have forgotten an essential step I have corrected it. --- PROJECTS/cnai_python_starter_template/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROJECTS/cnai_python_starter_template/Dockerfile b/PROJECTS/cnai_python_starter_template/Dockerfile index 4c812f2..0e5d0cb 100644 --- a/PROJECTS/cnai_python_starter_template/Dockerfile +++ b/PROJECTS/cnai_python_starter_template/Dockerfile @@ -4,6 +4,8 @@ FROM python:3.12 LABEL maintainer="panaversity" # Set the working directory in the container WORKDIR /code +# copy the current directory content into the working directory of the container +COPY . /code/ # Install system dependencies required for potential Python packages RUN apt-get update && apt-get install -y \ build-essential \ @@ -11,4 +13,4 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Run the app. CMD can be overridden when starting the container -CMD ["sleep", "infinity"] \ No newline at end of file +CMD ["sleep", "infinity"]