use nginx for prod

This commit is contained in:
2025-08-29 14:52:44 +02:00
parent 795df16f5b
commit 9d4b5db64d
10 changed files with 14 additions and 41 deletions
+4 -6
View File
@@ -1,9 +1,7 @@
FROM oven/bun:latest
FROM nginx
WORKDIR /app
COPY ./dist /usr/share/nginx/html
COPY . .
EXPOSE 80
RUN bun install
CMD ["bun", "run", "dev", "--host"]
CMD ["nginx", "-g", "daemon off;"]