From aea2fe0c5da907f24d7461640b1b2c51057f2375 Mon Sep 17 00:00:00 2001 From: Sameer Shaik Date: Tue, 10 Dec 2024 22:35:24 +0530 Subject: [PATCH] fix: docker removal --- .github/workflows/deploy-client.yml | 6 +++--- .github/workflows/deploy-server.yml | 6 +++--- .github/workflows/docker-compose.yml | 27 --------------------------- client/.dockerignore | 2 -- client/Dockerfile | 13 ------------- landing_page/.dockerignore | 3 --- landing_page/Dockerfile | 6 ------ model/README.md | 7 ------- model/image.jpeg | Bin 5564 -> 0 bytes server/.dockerignore | 2 -- server/Dockerfile | 11 ----------- 11 files changed, 6 insertions(+), 77 deletions(-) delete mode 100644 .github/workflows/docker-compose.yml delete mode 100644 client/.dockerignore delete mode 100644 client/Dockerfile delete mode 100644 landing_page/.dockerignore delete mode 100644 landing_page/Dockerfile delete mode 100644 model/README.md delete mode 100644 model/image.jpeg delete mode 100644 server/.dockerignore delete mode 100644 server/Dockerfile diff --git a/.github/workflows/deploy-client.yml b/.github/workflows/deploy-client.yml index 38e98fb..b4118ca 100644 --- a/.github/workflows/deploy-client.yml +++ b/.github/workflows/deploy-client.yml @@ -3,7 +3,7 @@ name: Deploy Client Production on: push: paths: - - "client/**" # Trigger when any file in the 'client' folder is changed + - "client/**" jobs: deploy: @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '16' # Ensure you're using the appropriate Node.js version + node-version: "16" - name: Install Vercel CLI globally run: npm install -g vercel @@ -26,4 +26,4 @@ jobs: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} run: | cd client # Navigate to the client directory - vercel --prod --token $VERCEL_TOKEN --yes \ No newline at end of file + vercel --prod --token $VERCEL_TOKEN --yes diff --git a/.github/workflows/deploy-server.yml b/.github/workflows/deploy-server.yml index 60224de..1d47de4 100644 --- a/.github/workflows/deploy-server.yml +++ b/.github/workflows/deploy-server.yml @@ -3,7 +3,7 @@ name: Deploy Server Production on: push: paths: - - "server/**" # Trigger when any file in the 'server' folder is changed + - "server/**" jobs: deploy: @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '16' # Ensure you're using the appropriate Node.js version + node-version: "16" # Ensure you're using the appropriate Node.js version - name: Install Vercel CLI globally run: npm install -g vercel @@ -26,4 +26,4 @@ jobs: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} run: | cd server # Navigate to the server directory - vercel --prod --token $VERCEL_TOKEN --yes \ No newline at end of file + vercel --prod --token $VERCEL_TOKEN --yes diff --git a/.github/workflows/docker-compose.yml b/.github/workflows/docker-compose.yml deleted file mode 100644 index b5425ba..0000000 --- a/.github/workflows/docker-compose.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: "3.8" - -services: - frontend: - build: - context: ./client - ports: - - "5173:5173" - volumes: - - ./client:/app - - /app/node_modules - environment: - - NODE_ENV=development - depends_on: - - backend - - backend: - build: - context: ./server - ports: - - "8080:8080" - volumes: - - ./server:/app - - /app/node_modules # - environment: - - NODE_ENV=development - - FRONTEND_URL=http://client:5173 diff --git a/client/.dockerignore b/client/.dockerignore deleted file mode 100644 index 37d7e73..0000000 --- a/client/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -.env diff --git a/client/Dockerfile b/client/Dockerfile deleted file mode 100644 index 773a240..0000000 --- a/client/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM node:18 -WORKDIR /app/client - -COPY package.json package-lock.json ./ - -RUN npm install -COPY . . - -RUN npm run build - -EXPOSE 5173 - -CMD ["npm", "run", "dev"] diff --git a/landing_page/.dockerignore b/landing_page/.dockerignore deleted file mode 100644 index 483c52d..0000000 --- a/landing_page/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules -.gitignore -.en \ No newline at end of file diff --git a/landing_page/Dockerfile b/landing_page/Dockerfile deleted file mode 100644 index e4b6f72..0000000 --- a/landing_page/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM node -WORKDIR /app -COPY . . -RUN npm install -EXPOSE 3000 -CMD ["npm", "start"] \ No newline at end of file diff --git a/model/README.md b/model/README.md deleted file mode 100644 index 2bb0635..0000000 --- a/model/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## Flask Server - -- Flask is a python framework suitable for light weight applications. - -# How to Run the Server - -- python app.py diff --git a/model/image.jpeg b/model/image.jpeg deleted file mode 100644 index 10e5b71b7c27c122ca07bf16dd279726569c227e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5564 zcma)8Wl$W7IPPFglFl;`mD+i zDmMm9iBCt~8^!BhBEktnE82sMR))rWK}TQSGU$V#faVvcg;vPpm13GIb=i)zj3L+o z52XZ$bPgtX4rwV>%9E3)Xl^J}rw+AB(9*Bi6zbaM#-8Ra@zrrv;P0atyX@cvhE)sK>B))=q3ws#0wHQb( zv1xf9XV`Du15SSE)`i=G9cWF(0A6V$As9XYrqibi~FbO=!2H*n;ftSPHz4mM6njYac(iQVOkc=8y`i<6kQas8(1rYU=?O)`6S%v@7jyF3Tm z!Im8lI<`&iIreK@r;zfdzQ{SO#A6&9C0pLmf}{uM-74GgYk=+X``NTp2c&;X*|FZ} z%S~sYl8?LaX&12b8HFJZq6Ma$(4i}JZ-=q+tdYLX60?MQ4?BTPv7dBZew^q=Ci`mW z__Li4z3udPQbqCc=h}|xwcOFVgD@Ke329khC;nD(km=Zj>s@H8{r&8qKl!Y3hq~$pd|Guh|apKYoUwKM8U% zoa&^v+Aq3^b%nNiFYKYV(bhQu4rKVIRf7lUg#@IQ#!m?RT$7eQy|i$Ne7@v4)e-d_ zk^`jrHTcn{Yk)4syv#^c+hMLEsSFM>);ESu>6>CoCaE310f$DMtaz8xyRCPM|-!72WOws9vXJy|}-gNS4(s#hjUB|>P z{flk4LaC^+_`#eaT#&8(jAd_lik!&_w1fUUVR+FDjSoE(vX{0Z23KeMuGMkMn-n#> zmcN``u~bvuYmn3*k&)TB;l=DPl2i3!kRKNiRiTmMpsHRlda=<%{fir|Gq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zdJhEyk@F(DFvOaoNXdLcu)Icg5P<|D&wYWH!TolKTaMaq_EuLZRO}Z~E-Vsv4q= zgkEKX&r_3K>``q^tu^3xM#Z1s9qUM#Zrkx>%boy}J_v1n$zOJvu(t?X<5|hR6wDkM z6{tQqphZhv`&GSve;_+-0Ilrtk+_a*j~SFbGMn?`e(!b}Qf!taA6s|*3t6nrc5YH9 zUq`72BDnQGGH5Sn+!=#Matnv;^cu1ZfFeQeP9;2;6dGW#gA!kKa;Zibc6t#DCcsq} zM;t=*l5~|2#U5#}5Zl5q zgOAvkw3WI1v(A4`??kKOM3g#4w+g1&AhS4&SEm0PHTW|Hft->#rvG&MpEA-bd z=#_<#Xapx$GRtY_Idxq9m`*!>=LVfja55S#Kscg8YWNU(G9AH;E%<-v|0HAGFa8f7fFN)H diff --git a/server/.dockerignore b/server/.dockerignore deleted file mode 100644 index 37d7e73..0000000 --- a/server/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -.env diff --git a/server/Dockerfile b/server/Dockerfile deleted file mode 100644 index d4e4ca3..0000000 --- a/server/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM node:18 -WORKDIR /app/server - -COPY package.json package-lock.json ./ - -RUN npm install -COPY . . - -EXPOSE 8080 - -CMD ["npm", "start"] \ No newline at end of file