diff --git a/Dockerfile b/Dockerfile index 279af49..cc009a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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