Merge remote-tracking branch 'origin/build'
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal 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
11
nginx.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
@@ -2,4 +2,4 @@
|
||||
cmds = ["bun install --frozen-lockfile"]
|
||||
|
||||
[phases.build]
|
||||
cmds = ["bun run build"]
|
||||
cmds = ["bunx --bun vite build"]
|
||||
@@ -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"
|
||||
>
|
||||
<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" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user