Open netsensei opened 1 year ago
@netsensei well have a look at the contents in the docker instance of the oai-service-dev (I just had a look in the running container over ssh):
/dist # ls
Dockerfile cli oaipmh
LICENSE ent public
Makefile go.mod reflex.conf.example
README.md go.sum repositories
api hooks
app main.go
/dist
all of the development files are also there. You have to pick and choose what to copy.
About the naming and location of the binary: no idea. I tend to keep names recognizable. What is the hell is app?
BTW this looks more like a discussion, not?
Last 5 lines in the current
Dockerfile
reads:/opt
directory in a Docker contextpeople-service
within the Docker image; because it's not possible to shell into the container and execute the binary directory. Justapp
suffices.OAI service does it like this:
Last bullet point: the
openapi.yaml
file is automatically copied into the container. It should be automatically picked up.