From cee9f7e1275b4a46e3003652490c5a7b32244d33 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 5 Dec 2020 19:38:31 +0200 Subject: [PATCH] Move nginx.conf to docker directory --- .dockerignore | 1 + docker/concordia-app/Dockerfile | 2 +- {packages => docker}/concordia-app/nginx.conf | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename {packages => docker}/concordia-app/nginx.conf (100%) diff --git a/.dockerignore b/.dockerignore index 61b6add..9735aca 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,6 +7,7 @@ docker/ !docker/concordia-contracts/migrate.sh !docker/concordia-contracts/test-contracts.sh !docker/concordia-app/test-app.sh +!docker/concordia-app/nginx.conf !docker/ganache/start-blockchain.sh packages/*/node_modules diff --git a/docker/concordia-app/Dockerfile b/docker/concordia-app/Dockerfile index 04c619c..564f0be 100644 --- a/docker/concordia-app/Dockerfile +++ b/docker/concordia-app/Dockerfile @@ -68,5 +68,5 @@ RUN apk add -U tzdata \ WORKDIR "/var/www/concordia-app" -COPY ./packages/concordia-app/nginx.conf /etc/nginx/conf.d/default.conf +COPY ./docker/concordia-app/nginx.conf /etc/nginx/conf.d/default.conf COPY --chown=nginx:nginx --from=build /usr/src/concordia/packages/concordia-app/build . diff --git a/packages/concordia-app/nginx.conf b/docker/concordia-app/nginx.conf similarity index 100% rename from packages/concordia-app/nginx.conf rename to docker/concordia-app/nginx.conf