Commit 3472e4ee by chahir

add public to docker file

parent 37808fb0
......@@ -11,11 +11,11 @@ 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
......@@ -72,7 +72,7 @@ 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
......@@ -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