docker compose up --buildDocker compose up is configured to watch files in the src folder. Can be used
for the application server in development mode. To configure IDE/Editors, run
npm install locally.
⚠️ When running with "docker compose" it will be necessary to built the application image every time a new NPM package is installed, because the node_modules can be specific for each OS. Just run the above command again.
or
npm install
npm run devRequires Node.JS >= 18.12.1, NPM >= 9.2.0.
Default values:
PORT=8000
LOG_LEVEL=warnSee configuration.ts.
If running with docker compose up, the MongoDB Express is served at
http://localhost:8001.
docker build -t=acme-api-service -f=./Dockerfile .
docker run -i --rm --init --name=acme-api-service --env=<env_var>=<value> acme-api-serviceor
npm run build
npm startRequires Node.JS >= 18.12.1 and NPM >= 9.2.0.