From 51a47a8ad8535f0cc961f9e86fae43e7277faf14 Mon Sep 17 00:00:00 2001
From: Cyril L'Orphelin <cyril.lorphelin@cc.in2p3.fr>
Date: Wed, 5 Feb 2020 14:26:28 +0000
Subject: [PATCH] Update Dockerfile

---
 Dockerfile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 55dddbe1..c16b0325 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,6 +28,10 @@ WORKDIR /var/www/html
 RUN git clone https://gitlab.in2p3.fr/cc-in2p3-dev/TMS tms
 WORKDIR /var/www/html/tms/tms
 
+RUN cp nginx.conf /etc/nginx/nginx.conf
+RUN cp symfony.conf /etc/nginx/conf.d/symfony.conf
+
+
 RUN mv .env.template .env
 
 RUN ls -ahl
@@ -45,8 +49,7 @@ RUN $HOME/.yarn/bin/yarn install --ignore-engines
 RUN $HOME/.yarn/bin/yarn encore dev
 
 
-COPY /var/www/html/tms/tms/nginx.conf /etc/nginx/
-COPY /var/www/html/tms/tms/symfony.conf /etc/nginx/conf.d/
+
 
 RUN echo "upstream php-upstream { server php:9001; }" > /etc/nginx/conf.d/upstream.conf
 
-- 
GitLab