Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AnushthanS
Copy link

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.

Dockerfile Outdated
@@ -0,0 +1,17 @@
FROM node:22
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node:latest pls

Copy link

@colemvnio colemvnio Oct 16, 2024

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
Copy link
Contributor

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

https://www.rust-lang.org/tools/install

Copy link
Author

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.

@leomeneguzzi
Copy link

up!
This will be great, I will try to run this on my self host!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants