Merge remote-tracking branch 'origin/build'

This commit is contained in:
2026-01-07 07:35:09 -06:00
5 changed files with 23 additions and 2 deletions

10
Dockerfile Normal file
View File

@@ -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

11
nginx.conf Normal file
View File

@@ -0,0 +1,11 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}

View File

@@ -2,4 +2,4 @@
cmds = ["bun install --frozen-lockfile"] cmds = ["bun install --frozen-lockfile"]
[phases.build] [phases.build]
cmds = ["bun run build"] cmds = ["bunx --bun vite build"]

View File

@@ -58,7 +58,7 @@ function RouteComponent() {
className="group text-muted-foreground hover:text-primary flex items-center gap-1.5 text-sm font-medium transition-colors" className="group text-muted-foreground hover:text-primary flex items-center gap-1.5 text-sm font-medium transition-colors"
> >
<span>Ver todos</span> <span>Ver todos</span>
{/* La flecha se mueve a la derecha al hacer hover en el grupo */} {/* La flecha se mueve a la derecha al hacer hover en el grupoo */}
<ArrowRight className="h-4 w-4 transition-transform duration-300 group-hover:translate-x-1" /> <ArrowRight className="h-4 w-4 transition-transform duration-300 group-hover:translate-x-1" />
</a> </a>
</div> </div>