guidesmiths/generator-systemic

View on GitHub
generators/app/templates/root/_Dockerfile

Summary

Maintainability
Test Coverage
FROM node:10.4

# Create app directory
WORKDIR /usr/src/app

# Install app dependencies
COPY package*.json ./

RUN npm install

# Bundle app source
COPY . .

EXPOSE 4000

RUN npm run manifest

CMD [ "npm", "start" ]