INTO-CPS-Association/DTaaS

View on GitHub
docker/libms.npm.dockerfile

Summary

Maintainability
Test Coverage
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"]