lint/.automation/test/docker/good/Dockerfile
2020-08-04 14:19:29 -05:00

13 lines
224 B
Docker

FROM node:10
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
COPY server.js server.js
EXPOSE 3000
CMD ["node", "server.js"]