From 6d9d7ba395e6b7b6bc1c94c5ab08560adb382dc2 Mon Sep 17 00:00:00 2001 From: ngn Date: Sat, 8 Jun 2024 22:25:04 +0300 Subject: [PATCH] move dockerignore files to root --- .dockerignore | 17 +++++++++++++++++ Dockerfile | 1 + app/.dockerignore | 10 ---------- payloads/.dockerignore | 3 --- server/.dockerignore | 2 -- 5 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 .dockerignore delete mode 100644 app/.dockerignore delete mode 100644 payloads/.dockerignore delete mode 100644 server/.dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..aac45a6 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,17 @@ +app/.DS_Store +app/node_modules +app/build +app/.svelte-kit +app/package +app/.env +app/.env.* +app/!.env.example +app/vite.config.js.timestamp-* +app/vite.config.ts.timestamp-* + +server/server +server/data + +payloads/stage/stage +payloads/stage/*.exe +payloads/*/dist diff --git a/Dockerfile b/Dockerfile index b4b103b..17e1e2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ COPY app /app WORKDIR /app ENV VITE_API_URL_DEV "http://127.0.0.1:5566" +RUN npm install RUN npm run build ##################### diff --git a/app/.dockerignore b/app/.dockerignore deleted file mode 100644 index 6635cf5..0000000 --- a/app/.dockerignore +++ /dev/null @@ -1,10 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example -vite.config.js.timestamp-* -vite.config.ts.timestamp-* diff --git a/payloads/.dockerignore b/payloads/.dockerignore deleted file mode 100644 index 5652511..0000000 --- a/payloads/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -stage/stage -stage/*.exe -*/dist diff --git a/server/.dockerignore b/server/.dockerignore deleted file mode 100644 index a75b65f..0000000 --- a/server/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -server -data/