Skip to content

Package static assets in container #46

@j-mueller

Description

@j-mueller
  • Add a dummy file generated/html/index.html (this will be replaced by the frontend code eventually)
  • Include this file in the container in some path ${assets} (I imagine this will be a path to the nix store)
  • Change the default arguments of the container to wst-poc-cli manage TX_IN start --static-files=${assets}

The TX_IN value should be given as a variable when starting the container. When you test this you will probably have to define WST_BLOCKFROST_TOKEN as well, just put any string

The end result is that we should be able to run the container, expose port 8080, then call curl localhost:8080/index.html and get the dummy file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions