Functional Testing

Shell scripts to test k8s and os conversion
which can be ran by following command in root dir
`./script/test/cmd/tests.sh`
This commit is contained in:
Suraj Deshmukh
2016-08-08 04:39:10 +00:00
parent 786f0fee9b
commit 9a4e953555
35 changed files with 2918 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM centos:7
RUN yum -y install epel-release && yum install -y nodejs npm gcc* make
RUN /bin/bash -c 'npm install -g nodemon' && mkdir /src
# Define working directory
WORKDIR /src
ADD . /src
RUN cd /src && npm install
# Expose port
EXPOSE 8080
# Run app using nodemon
CMD /bin/bash -c 'nodemon /src/index.js'