Skip to content
This repository was archived by the owner on Mar 22, 2025. It is now read-only.

Commit a6e1416

Browse files
author
TheDonDope
committed
fix(build): set proper volumes
Set the proper volumes for the nginx container and update the `crudular.template` to point to the correct root
1 parent fb3e513 commit a6e1416

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

crudular.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ server {
22
listen ${NGINX_PORT};
33
server_name ${NGINX_HOST};
44

5-
root /var/www/crudular;
5+
root /home/app/crudular;
66

77
index index.html;
88

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ services:
1818
- NGINX_HOST=localhost
1919
- NGINX_PORT=80
2020
command: /bin/bash -c "envsubst '$$NGINX_HOST $$NGINX_PORT' < /etc/nginx/conf.d/crudular.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
21-
volumes:
22-
- './dist:/var/www/crudular'
2321
depends_on:
2422
- dist-build
2523
networks:

0 commit comments

Comments
 (0)