From 5d9cc8d03ffbcb52c77b6f6edb8bdb0793c4ad20 Mon Sep 17 00:00:00 2001 From: Vikramjeet Date: Tue, 10 Dec 2024 21:43:08 +0530 Subject: [PATCH] Update Dockerfile to streamline application structure - Modified the Dockerfile to copy the entire project directory into the /app directory, replacing the previous src directory copy. This change simplifies the build context and ensures all necessary files are included in the Docker image. These adjustments aim to enhance the Docker image's consistency and ease of use. --- DockerFileFolder/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DockerFileFolder/Dockerfile b/DockerFileFolder/Dockerfile index 0fa8bbb..f4358c1 100644 --- a/DockerFileFolder/Dockerfile +++ b/DockerFileFolder/Dockerfile @@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Copy everything from DockerFileFolder and the rest of the directory structure COPY DockerFileFolder/ /app/DockerFileFolder/ -COPY src/ /app/src/ +COPY . /app COPY requirements.txt /app/ COPY pyproject.toml /app/