From 0bada12e5611a50391f1f0ab715e5eac89eab3c4 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 8 Jul 2025 17:54:08 +0530 Subject: put .env from eda-frontend cleanup --- blocks/.dockerignore | 5 ++++- blocks/Dockerfile | 3 --- blocks/Dockerfile.patch | 10 +++++----- blocks/eda-frontend/.babelrc.json | 3 --- 4 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 blocks/eda-frontend/.babelrc.json diff --git a/blocks/.dockerignore b/blocks/.dockerignore index 5e6b38b0..6de483dd 100644 --- a/blocks/.dockerignore +++ b/blocks/.dockerignore @@ -9,8 +9,11 @@ env* *.sqlite3 *.swp .DS_Store -**/.env +.env **/.env.* +**/.git* +**/.nvmrc +**/.vscode **/build **/node_modules tags diff --git a/blocks/Dockerfile b/blocks/Dockerfile index f8bfc6ae..d5d630ca 100644 --- a/blocks/Dockerfile +++ b/blocks/Dockerfile @@ -121,9 +121,6 @@ COPY . . # Configure venv and sqlite3 RUN ./install.sh -# For localhost only -RUN echo 'WDS_SOCKET_PORT=80' > eda-frontend/.env.local - # Cleanup RUN apt-get autoremove -qq --purge gawk python3-pip python3-venv wget xz-utils RUN apt-get clean -qq diff --git a/blocks/Dockerfile.patch b/blocks/Dockerfile.patch index 0a94dd1c..069a62cc 100644 --- a/blocks/Dockerfile.patch +++ b/blocks/Dockerfile.patch @@ -1,5 +1,5 @@ ---- Dockerfile 2025-07-04 16:16:28.040919228 +0530 -+++ Dockerfile.1 2025-07-04 16:19:16.930142599 +0530 +--- Dockerfile 2025-07-08 18:20:34.818712259 +0530 ++++ Dockerfile.1 2025-07-08 18:21:40.192702872 +0530 @@ -119,7 +119,7 @@ COPY . . @@ -7,9 +7,9 @@ -RUN ./install.sh +RUN ./install.sh prod - # For localhost only - RUN echo 'WDS_SOCKET_PORT=80' > eda-frontend/.env.local -@@ -173,4 +173,4 @@ + # Cleanup + RUN apt-get autoremove -qq --purge gawk python3-pip python3-venv wget xz-utils +@@ -170,4 +170,4 @@ WORKDIR ${XCOS_DIR} diff --git a/blocks/eda-frontend/.babelrc.json b/blocks/eda-frontend/.babelrc.json deleted file mode 100644 index 7dd5e9df..00000000 --- a/blocks/eda-frontend/.babelrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["@babel/preset-react"] -} -- cgit