Commit 3472e4ee by chahir

add public to docker file

parent 37808fb0
......@@ -11,15 +11,15 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
# Installing supervisord
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor && \
apt-get install -y gnupg2 && \
apt-get install -yq ssh && \
apt-get install -yq tree && \
apt-get install -y openssh-server && \
apt-get install -yq redis-server
apt-get install -y gnupg2 && \
apt-get install -yq ssh && \
apt-get install -yq tree && \
apt-get install -y openssh-server && \
apt-get install -yq redis-server
# add supervisor conf
ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# install nginx
RUN DEBIAN_FRONTEND=noninteractive apt-get -yq install net-tools nginx lsb-release
......@@ -61,7 +61,7 @@ RUN apt-get -yq install expect-dev
# RUN echo exit 0 > /usr/sbin/policy-rc.d
# 1. Create the SSH directory.
# 2. Populate the private key file.
# 3. Set the required permissions.
......@@ -72,8 +72,8 @@ RUN mkdir ~/.ssh && \
echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config && \
touch ~/.ssh/known_hosts && ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts && \
ssh -T git@labs.atlasvoyages.com
# echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
# echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
RUN cat ~/.ssh/known_hosts
RUN cat ~/.ssh/id_rsa
......@@ -108,6 +108,8 @@ RUN find ./node_modules -maxdepth 1 -name "pine*" -type d \( ! -name . \) -exec
find ./node_modules -maxdepth 1 -name "hermes*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist --force" \; && \
find ./node_modules -maxdepth 1 -name "theme-atlasvoyages*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist --force" \;
#RUN find ./apps/atlasvoyages -maxdepth 1 -exec bash -c "git clone http://labs.atlasvoyages.com/webapps/atlas-voyages.git && rm -rf ./public && cp " \;
RUN echo '\n location ------' | pwd
RUN echo '\n' | grunt pine:setup
# RUN tree /atlasvoyages/apps/atlas-voyages/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment