Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Commit 9059ccb

Browse files
committed
CI(api): accept turbo build args for caching
1 parent 55d9629 commit 9059ccb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

api/Dockerfile

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## ------------------------------
2+
## Args
3+
## ------------------------------
4+
5+
ARG TURBO_TEAM
6+
ENV TURBO_TEAM=$TURBO_TEAM
7+
8+
ARG TURBO_TOKEN
9+
ENV TURBO_TOKEN=$TURBO_TOKEN
10+
111
## ------------------------------
212
## Build
313
## ------------------------------
@@ -18,7 +28,7 @@ RUN yarn api build
1828
## Runtime
1929
## ------------------------------
2030

21-
FROM node:20-alpine
31+
FROM node:20-alpine as runtime
2232

2333
ENV NODE_ENV production
2434

0 commit comments

Comments
 (0)