Skip to content

Commit efc1db3

Browse files
authored
set workdir (#131)
1 parent 2baf591 commit efc1db3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

okteto.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ deploy:
3535
dev:
3636
frontend:
3737
image: okteto/node:20
38+
workdir: /usr/src/app
3839
command: bash
3940
sync:
4041
- frontend:/usr/src/app
@@ -46,6 +47,7 @@ dev:
4647
- 9229:9229
4748
rent:
4849
command: mvn spring-boot:run
50+
workdir: /app
4951
sync:
5052
- rent:/app
5153
volumes:
@@ -55,6 +57,7 @@ dev:
5557
- 5432:postgresql:5432
5658
api:
5759
image: okteto/golang:1.22
60+
workdir: /usr/src/app
5861
command: bash
5962
securityContext:
6063
capabilities:
@@ -66,6 +69,7 @@ dev:
6669
- 2346:2345
6770
worker:
6871
image: okteto/golang:1.22
72+
workdir: /usr/src/app
6973
command: bash
7074
securityContext:
7175
capabilities:

0 commit comments

Comments
 (0)