Actualizar Dockerfile

This commit is contained in:
2026-01-06 22:21:57 +00:00
parent ae8cd423d9
commit d93c10e88e
2 changed files with 10 additions and 1 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