From b65140d50c89d85995b98057ca8b1b50af3e6b7c Mon Sep 17 00:00:00 2001 From: Cyril L'Orphelin <cyril.lorphelin@cc.in2p3.fr> Date: Mon, 17 Feb 2020 13:22:02 +0100 Subject: [PATCH] MAJ nginx.conf default --- Dockerfile | 5 +---- tms/symfony.conf | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 31fc2798..9860843a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,9 +48,6 @@ RUN ls -alh RUN mv symfony.conf /etc/nginx/conf.d/default.conf - - - RUN curl -sS https://getcomposer.org/installer | php RUN php composer.phar install @@ -58,7 +55,7 @@ RUN npm cache clean -f RUN npm install -g n RUN n stable RUN curl -o- -L https://yarnpkg.com/install.sh | bash -EXPOSE 8080 + RUN $HOME/.yarn/bin/yarn install --ignore-engines diff --git a/tms/symfony.conf b/tms/symfony.conf index 91c9488c..16bd1520 100644 --- a/tms/symfony.conf +++ b/tms/symfony.conf @@ -1,7 +1,6 @@ server { - listen 8080; server_name localhost; - root /var/www/html/tms/tms/public; + root /var/www/html/tms/public; location / { -- GitLab