fix:deploy

This commit is contained in:
2026-03-10 01:42:12 +09:00
parent 5536fdc665
commit ce14c4129f
2 changed files with 8 additions and 26 deletions

View File

@@ -12,17 +12,3 @@ COPY .env ./
RUN bun install --frozen-lockfile
RUN bun run build
# ---- serve ----
FROM oven/bun:1-alpine
WORKDIR /app
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/package.json ./
COPY --from=builder /app/vite.config.ts ./
EXPOSE 4501
CMD ["bun", "run", "node_modules/.bin/vite", "preview", "--host", "0.0.0.0", "--port", "4501"]