forked from LaconicNetwork/kompose
Shell scripts to test k8s and os conversion which can be ran by following command in root dir `./script/test/cmd/tests.sh`
17 lines
317 B
Docker
17 lines
317 B
Docker
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'
|