Skip to content

Commit bd2c0ef

Browse files
authored
refactor(api-service, worker, ws): remove .env.test configuration from nest-cli.json files across apps (#10894)
1 parent 8ffe00b commit bd2c0ef

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

apps/api/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN cp src/dotenvcreate.mjs dist/dotenvcreate.mjs
3434
RUN cp src/.example.env dist/.env
3535
RUN cp src/.env.development dist/.env.development
3636
RUN cp src/.env.production dist/.env.production
37+
RUN rm -f dist/.env.test dist/.env.ci
3738

3839
WORKDIR /usr/src/app
3940

apps/worker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN cp src/dotenvcreate.mjs dist/dotenvcreate.mjs
3737
RUN cp src/.example.env dist/.env
3838
RUN cp src/.env.development dist/.env.development
3939
RUN cp src/.env.production dist/.env.production
40+
RUN rm -f dist/.env.test dist/.env.ci
4041

4142
WORKDIR /usr/src/app
4243

apps/ws/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ RUN cp src/dotenvcreate.mjs dist/dotenvcreate.mjs
3535
RUN cp src/.example.env dist/.env
3636
RUN cp src/.env.development dist/.env.development
3737
RUN cp src/.env.production dist/.env.production
38+
RUN rm -f dist/.env.test dist/.env.ci
3839

3940
WORKDIR /usr/src/app
4041

0 commit comments

Comments
 (0)