mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-30 11:04:54 -05:00
fcce194d34
Change-Id: I9a044fefe96e400b8e3320842b53fe97af2a7b40
14 lines
265 B
Docker
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
|