superlint/test/linters/dockerfile_hadolint/bad/Dockerfile
Marco Ferrari e6cf8d3845
Move tests to the test directory (#4985)
* Move tests to the test directory

* Fix linting errors

* Add states back

* Add xml back
2023-12-15 08:50:35 +00:00

14 lines
265 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/ /here/there
RUN sudo npm install
ADD server.js server.js
EXPOSE 1
CMD ["node", "server.js"]
ENtrypoint /tmp/here.sh