Skip to content

Create script to build image and run container in dev mode #84

@olliesilvester

Description

@olliesilvester

For testing, we should create a convenience bash script which:

  • builds the image if one doesn't exist already, with tag daq-config-server-dev
  • runs the container, mounting the test data and dls_sw, and publishing ports. Probably something like podman run -v $(pwd)/tests/test_data:/workspaces/daq-config-server/tests/test_data:z -p 8555:8555 localhost/test-config-server
  • The script should have an option to force rebuild the image

Acceptance Criteria

  • Bash script described above is created
  • I can run the bash script from my workstation and successfully talk to the config server at http://localhost:8555/docs
  • Document how to test the repo using this bash script

Metadata

Metadata

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