Skip to content

Commit fbad7d1

Browse files
New tree
1 parent fd8b2ac commit fbad7d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+10
-8
lines changed

.github/workflows/docker-image-auth_api.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [ main ]
66
paths:
7-
- 'auth/**'
7+
- 'src/packages/auth/**'
88
pull_request:
99
branches: [ main ]
1010

.github/workflows/docker-image-marvel_api.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [ main ]
66
paths:
7-
- 'marvel/**'
7+
- 'src/packages/marvel/**'
88
pull_request:
99
branches: [ main ]
1010

Dockerfile.AuthAPI

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /usr/src/app
44

55
ENV NODE_ENV=local
66

7-
COPY /auth/package*.json ./
7+
COPY /src/packages/auth/package*.json ./
88

99
RUN npm install
1010

Dockerfile.Marvel

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /usr/src/app
44

55
ENV NODE_ENV=local
66

7-
COPY /marvel/package*.json ./
7+
COPY /src/packages/marvel/package*.json ./
88

99
RUN npm install
1010

docker-compose.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ services:
44
cockpit:
55
container_name: cockpit
66
build:
7-
context: ./cockpit
7+
context: ./src/packages/cockpit
88
volumes:
9-
- ./cockpit:/etc/nginx/
9+
- ./src/packages/cockpit:/etc/nginx/
1010
ports:
1111
- 8080:8080
1212
networks:
1313
- monorepo_network
1414
auth_api:
1515
container_name: auth_api
1616
build:
17-
context: ./auth
17+
context: ./
18+
dockerfile: ./Dockerfile.AuthAPI
1819
volumes:
1920
- ./auth/:/usr/src/app/
2021
networks:
@@ -26,7 +27,8 @@ services:
2627
marvel_api:
2728
container_name: marvel_api
2829
build:
29-
context: ./marvel
30+
context: ./
31+
dockerfile: ./Dockerfile.Marvel
3032
volumes:
3133
- ./marvel/:/usr/src/app/
3234
networks:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)