Skip to content

Commit c49bceb

Browse files
committed
Add environment variables for Turbo Remote Caching configuration in Docker setup
1 parent 227727c commit c49bceb

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/client/apps/contwatch-client/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ RUN npm install
2727
COPY --from=builder /contwatch-client/out/full/ .
2828

2929
# Uncomment and use build args to enable remote caching
30-
# ARG TURBO_TEAM
31-
# ENV TURBO_TEAM=$TURBO_TEAM
30+
ARG TURBO_TEAM
31+
ENV TURBO_TEAM=$TURBO_TEAM
3232

33-
# ARG TURBO_TOKEN
34-
# ENV TURBO_TOKEN=$TURBO_TOKEN
33+
ARG TURBO_TOKEN
34+
ENV TURBO_TOKEN=$TURBO_TOKEN
3535

3636
RUN npx turbo build --filter=contwatch-client...
3737

src/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
services:
22
client:
3+
environment:
4+
TURBO_TEAM: "$TURBO_TEAM"
5+
TURBO_TOKEN: "$TURBO_TOKEN"
36
build:
47
context: client
58
dockerfile: ./apps/contwatch-client/Dockerfile

0 commit comments

Comments
 (0)