Skip to content

Commit af31eed

Browse files
committed
Testing the Security detection
1 parent cdc987a commit af31eed

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Just a dummy Dockerfile to test the code-reviewer-action
2+
FROM node:10
3+
4+
# Create app directory
5+
RUN mkdir -p /usr/src/app
6+
WORKDIR /usr/src/app
7+
8+
# Install NPM
9+
COPY package.json /usr/src/app/
10+
RUN npm install
11+
12+
# testing the security detection
13+
RUN echo Password is `cat /cfg/password.txt`
14+
15+
# Bundle app source
16+
COPY . /usr/src/app
17+
EXPOSE 8808
18+
19+
CMD ["npm","start"]

0 commit comments

Comments
 (0)