dist
Some checks failed
CI/CD Pipeline / Build and Push App Docker Image (push) Successful in 1m47s
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 8s
CI/CD Pipeline / Deploy to Kubernetes (push) Failing after 5m9s

This commit is contained in:
yohlo
2026-02-08 23:05:31 -06:00
parent a4e618f327
commit d4b52e762b
3 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ FROM oven/bun:1-alpine AS runtime
WORKDIR /app WORKDIR /app
COPY --from=builder /app/.output ./.output COPY --from=builder /app/dist ./dist
EXPOSE 3000 EXPOSE 3000
@@ -25,4 +25,4 @@ ENV NITRO_PORT=3000
HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 \ HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 \
CMD bun -e "fetch('http://localhost:3000/api/health').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))" CMD bun -e "fetch('http://localhost:3000/api/health').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))"
CMD ["bun", "run", "./.output/server/index.mjs"] CMD ["bun", "run", "./dist/server/index.mjs"]

View File

@@ -6,8 +6,8 @@
"scripts": { "scripts": {
"dev": "vite dev --host 0.0.0.0", "dev": "vite dev --host 0.0.0.0",
"build": "vite build && tsc --noEmit", "build": "vite build && tsc --noEmit",
"start": "bun run .output/server/index.mjs", "start": "bun run dist/server/index.mjs",
"start:node": "node .output/server/index.mjs" "start:node": "node dist/server/index.mjs"
}, },
"dependencies": { "dependencies": {
"@hello-pangea/dnd": "^18.0.1", "@hello-pangea/dnd": "^18.0.1",

View File

@@ -6,7 +6,7 @@ import react from '@vitejs/plugin-react';
export default defineConfig({ export default defineConfig({
server: { server: {
port: 3000, port: 3000,
allowedHosts: ["dev.flexxon.app"] allowedHosts: ["dev.flexxon.app", "flexxon.app"]
}, },
plugins: [ plugins: [
tsConfigPaths({ tsConfigPaths({