feat: pass env to docker build
This commit is contained in:
parent
acf086da13
commit
19a311dc82
@ -7,6 +7,15 @@ FROM base AS prod-deps
|
||||
RUN pnpm install --prod --frozen-lockfile
|
||||
|
||||
FROM base AS build
|
||||
|
||||
ARG OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
ARG DREAM_API_KEY=${DREAM_API_KEY}
|
||||
|
||||
ARG S3_ENDPOINT_URL=${S3_ENDPOINT_URL}
|
||||
ARG S3_BUCKET_NAME=${S3_BUCKET_NAME}
|
||||
ARG S3_ACCESS_KEY=${S3_ACCESS_KEY}
|
||||
ARG S3_SECRET_ACCESS_KEY=${S3_SECRET_ACCESS_KEY}
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm run build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user