owl-corp / thallium

MIT License
2 stars 0 forks source link

Frontend Docker Image #2

Closed jb3 closed 3 months ago

jb3 commented 3 months ago

Add a Docker image for running the development version of the frontend locally.

This spins up the Vite development server in a Docker container allowing for live-reloading with changes in the thallium-frontend directory.

Since we don't deploy the application with Docker, this is not an optimised image and runs with the development server (rather than some sort of static file hosting software with the built image).

If desired, it should still be possible to have the container eject a built version by running it with pnpm run build, though this may be missing things such as git context which cannot be detected (we do not mount the .git folder in the root, only the subdirectory).

netlify[bot] commented 3 months ago

Deploy Preview for thallium canceled.

Name Link
Latest commit 270aa073646962ad664c348056a6c24e586c9c9c
Latest deploy log https://app.netlify.com/sites/thallium/deploys/66c0ac2154040c000891e513
jb3 commented 3 months ago

/merge

pydis-ff-bot[bot] commented 3 months ago

:white_check_mark: Successfully fast-forwarded commits from owl-corp:jb3/frontend/docker-image onto main