forked from LaconicNetwork/kompose
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:
@@ -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'
|
||||
Reference in New Issue
Block a user