From 194200b60ac57bcb9dd821738a28a55c846f0bad Mon Sep 17 00:00:00 2001 From: soumitradev Date: Sat, 10 Feb 2024 21:09:44 +0530 Subject: [PATCH] fix: remove copying of .env into frontend nginx folder so its not served --- frontend/docker/prod/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/docker/prod/Dockerfile b/frontend/docker/prod/Dockerfile index 3e87c1f4..c3f2b488 100644 --- a/frontend/docker/prod/Dockerfile +++ b/frontend/docker/prod/Dockerfile @@ -53,6 +53,5 @@ RUN rm -rf ./* COPY nginx.prod.conf /etc/nginx/nginx.conf COPY --from=build-stage /usr/src/app/frontend/dist . -COPY --from=build-stage /usr/src/app/frontend/.env . CMD ["nginx", "-g", "daemon off;"]