Authored by jimi.ji

add docker

... ... @@ -15,22 +15,27 @@ ENV NODE_ENV production
ENV NODE_HOME /home/static-ci
RUN mkdir -p "$NODE_HOME"
#RUN set -x \
# && yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel -y \
# && yum install git-core
RUN set -x \
&& yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel -y \
&& yum install git-core
COPY id_rsa ~/.ssh/
COPY id_rsa.pub ~/.ssh/
RUN set -x \
&& chmod 400 ~/.ssh/id_rsa
WORKDIR $NODE_HOME
COPY static-ci.tar.gz /home/static-ci/
COPY static-ci.tar.gz $NODE_HOME
RUN set -x \
&& mkdir -p /Data/logs/node/static-ci \
&& tar -xzvf static-ci.tar.gz -C "$NODE_HOME" \
&& rm -rf static-ci.tar.gz
#expose port
EXPOSE 6006
... ...
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAmJGwwQR7cTuQzG4+m/PQB4n3mp2GpHxWujS5H9spyrFwq7CW
sZQJFUeZtuT0TflQIof594YyjymZzfan5wGOAdrEViKvXj4Y3XvdCDU3k0baw76G
aEkzrHVI519O5gH9xRkqvd0jvguPo3jBKlU0fMmg157C1Cbs9ujUx6R2Iw4HIBt3
Sv3ghEuk2tV2i3kiHpNo8FfRMky+Usy23T/bfeKXdUYE3f2CRXAVaP4fnItfLIU8
t9CQ+Py2HkZrvolCYQXOCj8uIgkueXUVmoEEcoC17jzge7dOE+XntwgFhYLXKRpD
Za9EUYA0E+QhDbKKmC58F/vsbfMxV2DyrLSjBwIDAQABAoIBACuYngBZrohps/Om
oP9hSRWOaBFnZ/0ChqnIvQmMT8HauE5nNHhjy8Cn6BWqEOFjF3H2lwgS8cmU4p1H
GS1adWC0SZwvZxsv9Vz8sulQg6PzADok7DVKjZh/Hyj2RA5XjVNP4LXGRhtdJFta
+x+En231E5/pftSultHrMDooFZXoUEWITli/bo6LUxZO/7shZP79+TEaqGpxo1bz
lQCADWj13n1IML2AEGJ8LxBmlnRiPGx/rJT+J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