ForestAdmin/toolbelt

View on GitHub
src/services/dumpers/templates/agent-nodejs/javascript/Dockerfile.hbs

Summary

Maintainability
Test Coverage
FROM node:18-alpine

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install
# If you are building your code for production
# RUN npm ci --only=production

# Bundle app source
COPY . .

EXPOSE ${APPLICATION_PORT}

CMD ["npm", "start"]