-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Dockerfile and docker-compose for web-only debugging/environment #112
base: main
Are you sure you want to change the base?
Conversation
Dockerfile
Outdated
@@ -0,0 +1,17 @@ | |||
FROM node:22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node:latest pls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would tend to favor the fixed version as well to promote predictability, backwards compatibility and security. Using the latest tag would promote builds to non-lts versions which could introduce unwanted/unknown issues.
When updating versions, then the Dockerfile should simply be updated as well.
|
||
RUN npm i -g pnpm | ||
|
||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the command be curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That command initiated a cli based interactive installer. I tried a bunch of flags and ended up with this as the simplest method.
up! |
Added a Dockerfile and docker-compose. These are useful if anyone wants to run the web-app side of the application without installing rust, tauri or pnpm.