From a1c4f2160b7aa056aa13271f2df091d52469f5a9 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Thu, 20 Feb 2025 01:31:14 +0800 Subject: [PATCH] docs: add placeholder .gitkeep file to 'public' folder --- public/.gitkeep | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 public/.gitkeep diff --git a/public/.gitkeep b/public/.gitkeep new file mode 100644 index 0000000..882160e --- /dev/null +++ b/public/.gitkeep @@ -0,0 +1,7 @@ +This is a placeholder file to ensure the 'public' folder is not empty. + +The 'public' folder is required by the Dockerfile in order to copy static assets from the builder stage during the Docker build process. Specifically, the following line in the Dockerfile copies the contents of the 'public' folder from the builder stage to the production container: + +COPY --from=builder /app/public ./public + +Without this folder, the build process may fail as the folder is expected to exist in the container.