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

Dashboard Dockerfile #422

Closed
wants to merge 1 commit into from
Closed

Dashboard Dockerfile #422

wants to merge 1 commit into from

Conversation

sentanos
Copy link

@sentanos sentanos commented Oct 15, 2024

Description

This adds a working Dockerfile for the dashboard.

In the past, a Dockerfile and github action were added to upload the image.
However, the Dockerfile does not seem to work anymore, I assume because it
predates the usage of SSR in this repo (if it does work, please correct me).

I updated the Dockerfile based on the next.js example and have confirmed that it
runs on my server.

To match the example and to create an ideally optimized production image,
I enabled the standalone output option. See docs.

Closes #420

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Note: make sure your files are formatted with rust-analyzer

Copy link

netlify bot commented Oct 15, 2024

Deploy Preview for lodestone-dashboard canceled.

Name Link
🔨 Latest commit 3a37982
🔍 Latest deploy log https://app.netlify.com/sites/lodestone-dashboard/deploys/670df0693dc6e300080f74ac

Copy link

netlify bot commented Oct 15, 2024

Deploy Preview for lodestone-storybook canceled.

Name Link
🔨 Latest commit 3a37982
🔍 Latest deploy log https://app.netlify.com/sites/lodestone-storybook/deploys/670df06911abb60008fd3e51

@sentanos sentanos marked this pull request as ready for review October 15, 2024 04:31
@sentanos
Copy link
Author

Sorry, I am a fool! I did not realize that the dashboard is a static app. I got this working by using the existing image and binding to port 80.

@sentanos sentanos closed this Oct 15, 2024
@sentanos sentanos mentioned this pull request Oct 15, 2024
4 tasks
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.

Self Hosting Dahsboard
1 participant