Commit 167991dc by nabil el mahiri

new clean docker file

parent 3b01c7c0
Pipeline #483 failed with stages
in 5 minutes 26 seconds
......@@ -6,8 +6,8 @@ ARG SSH_PRIVATE_KEY
ARG BUILD_TOKEN
ARG DEPLOY_TOKEN
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
RUN apt-get update && \
apt-get -y dist-upgrade
# Installing supervisord
RUN apt-get install -y supervisor && \
......@@ -21,7 +21,7 @@ apt-get install -yq redis-server
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
RUN apt-get -yq install net-tools nginx lsb-release
RUN rm -f /etc/nginx/fastcgi.conf /etc/nginx/fastcgi_params && \
rm -f /etc/nginx/snippets/fastcgi-php.conf /etc/nginx/snippets/snakeoil.conf && \
......@@ -79,11 +79,11 @@ RUN cat ~/.ssh/id_rsa
WORKDIR /atlasvoyages
COPY ./sh /atlasvoyages/
COPY ./sh /atlasvoyages/sh
RUN tree ./
# RUN login automatiquely to npm
RUN expect -f sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com"
RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com"
COPY package*.json /atlasvoyages/
......
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