Skip to content

Commit 3899def

Browse files
committed
Fix directory references in compose file
1 parent b2d11c5 commit 3899def

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env

compose.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
django:
33
build:
4-
context: .
4+
context: ./Registrering
55
target: server
66
pull: true
77
pull_policy: build
@@ -26,7 +26,7 @@ services:
2626

2727
django-staticfiles:
2828
build:
29-
context: .
29+
context: ./Registrering
3030
target: static-server
3131
pull: true
3232
pull_policy: build
@@ -51,15 +51,15 @@ services:
5151

5252
django-dev:
5353
build:
54-
context: .
54+
context: ./Registrering
5555
target: dev
5656
pull: true
5757
pull_policy: build
5858

5959
command: python manage.py runserver 0.0.0.0:8000
6060

6161
volumes:
62-
- .:/app:rw
62+
- ./Registrering:/app:rw
6363

6464
ports:
6565
- "8000:8000"
@@ -89,7 +89,7 @@ services:
8989

9090
nextjs:
9191
build:
92-
context: ./registration-frontend-react/
92+
context: ./Registrering/registration-frontend-react/
9393
target: static-server
9494
pull: true
9595
pull_policy: build
@@ -106,13 +106,13 @@ services:
106106

107107
nextjs-dev:
108108
build:
109-
context: ./registration-frontend-react/
109+
context: ./Registrering/registration-frontend-react/
110110
target: dev-server
111111
pull: true
112112
pull_policy: build
113113

114114
volumes:
115-
- ./registration-frontend-react:/app:rw
115+
- ./Registrering/registration-frontend-react:/app:rw
116116
ports:
117117
- 3000:3000/tcp
118118
profiles:

0 commit comments

Comments
 (0)