chore: serve Docker self-hosting with vite preview (#40)
* chore: serve Docker self-hosting with vite preview * save
This commit is contained in:
parent
63d14d57ab
commit
069d4953cf
@ -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}"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user