From 9420fde5bf94e0988e127ab00dd4188f9ead3e14 Mon Sep 17 00:00:00 2001 From: "Guillermo.Arrieta" Date: Tue, 6 Jan 2026 20:04:42 +0000 Subject: [PATCH 01/12] Actualizar src/components/ui/input.tsx --- src/components/ui/{Input.tsx => input.tsx} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/components/ui/{Input.tsx => input.tsx} (100%) diff --git a/src/components/ui/Input.tsx b/src/components/ui/input.tsx similarity index 100% rename from src/components/ui/Input.tsx rename to src/components/ui/input.tsx From 9b778c96273fa633b478fff8a0a31277e98eccd2 Mon Sep 17 00:00:00 2001 From: "Roberto.silva" Date: Tue, 6 Jan 2026 14:46:49 -0600 Subject: [PATCH 02/12] Se agrega _redirects --- _redirects | 1 + 1 file changed, 1 insertion(+) create mode 100644 _redirects diff --git a/_redirects b/_redirects new file mode 100644 index 0000000..f824337 --- /dev/null +++ b/_redirects @@ -0,0 +1 @@ +/* /index.html 200 \ No newline at end of file From aff5d977eae7ce521650d8931956fa3496f31770 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 21:33:17 +0000 Subject: [PATCH 03/12] Actualizar nixpacks.toml --- nixpacks.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixpacks.toml b/nixpacks.toml index 6917e14..26e55b1 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -3,3 +3,10 @@ cmds = ["bun install --frozen-lockfile"] [phases.build] cmds = ["bunx vite build"] + +[phases.start] +cmds = [ + "cp -r dist/* /usr/share/nginx/html", + "cat <<'EOF' > /etc/nginx/conf.d/default.conf\nserver {\n listen 80;\n server_name _;\n\n root /usr/share/nginx/html;\n index index.html;\n\n location / {\n try_files $uri $uri/ /index.html;\n }\n}\nEOF", + "nginx -g 'daemon off;'" +] \ No newline at end of file From 9080d7a27741670a9dc08246b80e276b7e851bca Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 21:38:14 +0000 Subject: [PATCH 04/12] Actualizar nixpacks.toml --- nixpacks.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/nixpacks.toml b/nixpacks.toml index 26e55b1..2d7111d 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -6,7 +6,6 @@ cmds = ["bunx vite build"] [phases.start] cmds = [ - "cp -r dist/* /usr/share/nginx/html", "cat <<'EOF' > /etc/nginx/conf.d/default.conf\nserver {\n listen 80;\n server_name _;\n\n root /usr/share/nginx/html;\n index index.html;\n\n location / {\n try_files $uri $uri/ /index.html;\n }\n}\nEOF", "nginx -g 'daemon off;'" ] \ No newline at end of file From efa8f1f5faa8a29837f7f5e82a58594ce7224be5 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 21:39:24 +0000 Subject: [PATCH 05/12] Actualizar nixpacks.toml --- nixpacks.toml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nixpacks.toml b/nixpacks.toml index 2d7111d..f81e9e2 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -2,10 +2,4 @@ cmds = ["bun install --frozen-lockfile"] [phases.build] -cmds = ["bunx vite build"] - -[phases.start] -cmds = [ - "cat <<'EOF' > /etc/nginx/conf.d/default.conf\nserver {\n listen 80;\n server_name _;\n\n root /usr/share/nginx/html;\n index index.html;\n\n location / {\n try_files $uri $uri/ /index.html;\n }\n}\nEOF", - "nginx -g 'daemon off;'" -] \ No newline at end of file +cmds = ["bunx vite build"] \ No newline at end of file From 9bcb18e2b69755be334d09bccc71cdb47a2448a2 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 21:41:47 +0000 Subject: [PATCH 06/12] Actualizar nixpacks.toml --- nixpacks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixpacks.toml b/nixpacks.toml index f81e9e2..4fd142b 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -2,4 +2,4 @@ cmds = ["bun install --frozen-lockfile"] [phases.build] -cmds = ["bunx vite build"] \ No newline at end of file +cmds = ["bunx --bun vite build"] \ No newline at end of file From d645db721bbd8afce3fead784cd4ac9b466a0655 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 21:43:07 +0000 Subject: [PATCH 07/12] Actualizar Staticfile --- Staticfile | 2 ++ _redirects | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Staticfile delete mode 100644 _redirects diff --git a/Staticfile b/Staticfile new file mode 100644 index 0000000..25aa637 --- /dev/null +++ b/Staticfile @@ -0,0 +1,2 @@ +root: dist +pushstate: enabled diff --git a/_redirects b/_redirects deleted file mode 100644 index f824337..0000000 --- a/_redirects +++ /dev/null @@ -1 +0,0 @@ -/* /index.html 200 \ No newline at end of file From 1ad0e63e9ba2b78039f16d552aa42540f577b0ae Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 21:50:36 +0000 Subject: [PATCH 08/12] =?UTF-8?q?A=C3=B1adir=20nginx.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..79fd959 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,11 @@ +server { + listen 80; + server_name _; + + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } +} From 0a827f3763d4138f80108d96480ddf6da2fb74b1 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 22:05:07 +0000 Subject: [PATCH 09/12] Eliminar nginx.conf --- nginx.conf | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 79fd959..0000000 --- a/nginx.conf +++ /dev/null @@ -1,11 +0,0 @@ -server { - listen 80; - server_name _; - - root /usr/share/nginx/html; - index index.html; - - location / { - try_files $uri $uri/ /index.html; - } -} From ae8cd423d987018c8736ac7fbb9924149e99d732 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 22:05:38 +0000 Subject: [PATCH 10/12] Actualizar Staticfile --- Staticfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Staticfile b/Staticfile index 25aa637..85a1314 100644 --- a/Staticfile +++ b/Staticfile @@ -1,2 +1 @@ -root: dist -pushstate: enabled +pushstate: enabled \ No newline at end of file From d93c10e88eef7f54eebd47098d8374d24f036482 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 22:21:57 +0000 Subject: [PATCH 11/12] Actualizar Dockerfile --- Dockerfile | 10 ++++++++++ Staticfile | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Dockerfile delete mode 100644 Staticfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7a81091 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM oven/bun:1 AS build +WORKDIR /app +COPY . . +RUN bun install --frozen-lockfile +RUN bunx --bun vite build + +FROM nginx:alpine +COPY nginx.conf /etc/nginx/conf.d/default.conf +COPY --from=build /app/dist /usr/share/nginx/html +EXPOSE 80 diff --git a/Staticfile b/Staticfile deleted file mode 100644 index 85a1314..0000000 --- a/Staticfile +++ /dev/null @@ -1 +0,0 @@ -pushstate: enabled \ No newline at end of file From 13f507211018845a21e08622ec1e0eb75e92aeb7 Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Tue, 6 Jan 2026 22:22:51 +0000 Subject: [PATCH 12/12] =?UTF-8?q?A=C3=B1adir=20nginx.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..79fd959 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,11 @@ +server { + listen 80; + server_name _; + + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } +}