Browse Source

Move nginx.conf to docker directory

develop
Apostolos Fanakis 4 years ago
parent
commit
cee9f7e127
  1. 1
      .dockerignore
  2. 2
      docker/concordia-app/Dockerfile
  3. 0
      docker/concordia-app/nginx.conf

1
.dockerignore

@ -7,6 +7,7 @@ docker/
!docker/concordia-contracts/migrate.sh !docker/concordia-contracts/migrate.sh
!docker/concordia-contracts/test-contracts.sh !docker/concordia-contracts/test-contracts.sh
!docker/concordia-app/test-app.sh !docker/concordia-app/test-app.sh
!docker/concordia-app/nginx.conf
!docker/ganache/start-blockchain.sh !docker/ganache/start-blockchain.sh
packages/*/node_modules packages/*/node_modules

2
docker/concordia-app/Dockerfile

@ -68,5 +68,5 @@ RUN apk add -U tzdata \
WORKDIR "/var/www/concordia-app" 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 . COPY --chown=nginx:nginx --from=build /usr/src/concordia/packages/concordia-app/build .

0
packages/concordia-app/nginx.conf → docker/concordia-app/nginx.conf

Loading…
Cancel
Save