chore: serve Docker self-hosting with vite preview (#40)

* chore: serve Docker self-hosting with vite preview

* save
This commit is contained in:
Ben Senescu 2026-03-18 12:40:52 -04:00 committed by GitHub
parent 63d14d57ab
commit 069d4953cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,4 +15,4 @@ COPY . .
EXPOSE 3001
CMD ["sh", "-c", "pnpm run db:migrate:local && pnpm exec vite dev --host 0.0.0.0 --port ${PORT:-3001}"]
CMD ["sh", "-c", "pnpm run db:migrate:local && pnpm run build && pnpm exec vite preview --host 0.0.0.0 --port ${PORT:-3001}"]