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

build: use dev runtime for container image #76

Closed
wants to merge 1 commit into from

Conversation

conorsch
Copy link
Contributor

As a temporary measure, uses the pnpm run dev environment inside the container image. This is an anti-pattern. We should be using the "standalone" output of nextjs and running that directly via node, but doing so does not permit runtime configuration of the chain-id, used for loading assets, which is must-have for the built image.

Sprinkles in a few justfile additions to make testing locally a bit more straightforward, as we'll surely be exercising these config paths again in the near future.

Refs #73.

As a temporary measure, uses the `pnpm run dev` environment
inside the container image. This is an anti-pattern. We *should* be
using the "standalone" output of nextjs and running that directly via
`node`, but doing so does not permit runtime configuration of the
chain-id, used for loading assets, which is must-have for the built
image.

Sprinkles in a few `justfile` additions to make testing locally a bit
more straightforward, as we'll surely be exercising these config paths
again in the near future.

Refs #73.
@JasonMHasperhoven
Copy link
Contributor

Here we should revert to using the build command, but we should be able to provide different envs to the docker container and create multiple images, each for a different environment.

@conorsch
Copy link
Contributor Author

conorsch commented Oct 3, 2024

Unanimously we do not want to use a dev build in the live deployments; see #80 for best alternative to satisfy #73. Closing this out as unwanted.

@conorsch conorsch closed this Oct 3, 2024
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.

2 participants