docker/libms.npm.dockerfile
FROM node:20.10.0-slim
#! docker should be run from the root directory of the project
# Set the working directory inside the container
WORKDIR /dtaas/libms
# pull the libms package from npm registry
ARG VERSION="latest"
RUN npm i -g @into-cps-association/libms@${VERSION}
COPY ./deploy/config/lib.docker .env
COPY ./servers/lib/config/http.json .
# Define the command to run your app
CMD ["libms", "-H", "http.json"]