superlint/test/linters/dockerfile_hadolint/good/Dockerfile

14 lines
224 B
Text
Raw Normal View History

2020-02-04 12:56:02 -05:00
FROM node:10
2020-02-04 09:49:58 -05:00
# 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
2020-08-04 15:19:29 -04:00
COPY server.js server.js
2020-02-04 09:49:58 -05:00
EXPOSE 3000
CMD ["node", "server.js"]