Add Dockerfile for multi-stage build with Nginx#3
Add Dockerfile for multi-stage build with Nginx#3faultoverload wants to merge 8 commits into28raining:mainfrom
Conversation
|
Nice. I moved vite up to latest, not sure how you got this working without doing that. Any reason for using nginx instead of |
Update Dockerfile to use bun:1-alpine for serving.
vite to latest
Mostly because I have used nginx before and it worked. I tried following the bun docs to build a docker container but it seems like there should be a serve command in the package.json file that isn't there. I tried using a "bun run index.html" command as well and that builds but I dont get a working web server, maybe it should be some other file? I'm not a JS dev so just stumbling around in the dark a bit here. |
|
How about this? Open to suggestions, I find this easier to understand |
I wanted to be able to host this on my own and I like to run everything in Docker so I created this.