Commit c42f361f authored by David Foucher's avatar David Foucher

Add legacy backoffice files into container

parent cd900705
Pipeline #2331 passed with stage
in 4 minutes and 7 seconds
...@@ -79,15 +79,14 @@ server { ...@@ -79,15 +79,14 @@ server {
location /legacy { location /legacy {
root /srv/trefle/trefle; root /srv/trefle/legacy-backoffice;
error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log; access_log /var/log/nginx/access.log;
location /legacy/explorer { location /legacy/explorer {
alias /srv/trefle/trefle/explorer; alias /srv/trefle/legacy-backoffice/;
index index.html; index index.html;
try_files $uri /legacy/explorer/index.html;
} }
rewrite /legacy/(.*) /$1 break; rewrite /legacy/(.*) /$1 break;
......
...@@ -34,6 +34,7 @@ RUN apt-get update && apt-get -y install \ ...@@ -34,6 +34,7 @@ RUN apt-get update && apt-get -y install \
COPY --from=back_app_node /srv/trefle/backoffice/dist /srv/trefle/backoffice COPY --from=back_app_node /srv/trefle/backoffice/dist /srv/trefle/backoffice
COPY --from=back_app_node /srv/trefle/trefle/explorer /srv/trefle/legacy-backoffice
ARG TREFLE_GIT ARG TREFLE_GIT
ARG TREFLE_OLD_VERSION ARG TREFLE_OLD_VERSION
......
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