superlint/.automation/test/docker/docker_good_1.DOCKERFILE
2020-02-04 08:49:58 -06:00

13 lines
227 B
Docker

FROM node:latest
# 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
ADD server.js server.js
EXPOSE 3000
CMD ["node", "server.js"]