superlint/test/linters/dockerfile_hadolint/bad/Dockerfile

15 lines
265 B
Text
Raw Normal View History

2020-02-04 09:49:58 -05:00
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/ /here/there
RUN sudo npm install
ADD server.js server.js
EXPOSE 1
CMD ["node", "server.js"]
ENtrypoint /tmp/here.sh