mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 20:35:24 +00:00
try to move encryption key env decleration in docker file to fix build issues
This commit is contained in:
parent
9946901044
commit
f92acc0404
3 changed files with 2 additions and 3 deletions
|
|
@ -38,6 +38,7 @@ COPY --from=shared-libs-builder /app/packages/crypto ./packages/crypto
|
|||
RUN yarn config set registry https://registry.npmjs.org/
|
||||
RUN yarn config set network-timeout 1200000
|
||||
RUN yarn workspace @sourcebot/web install --frozen-lockfile
|
||||
ENV SOURCEBOT_ENCRYPTION_KEY=""
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
# @see: https://phase.dev/blog/nextjs-public-runtime-variables/
|
||||
ARG NEXT_PUBLIC_SOURCEBOT_TELEMETRY_DISABLED=BAKED_NEXT_PUBLIC_SOURCEBOT_TELEMETRY_DISABLED
|
||||
|
|
@ -149,7 +150,6 @@ RUN chmod +x ./entrypoint.sh
|
|||
|
||||
COPY default-config.json .
|
||||
|
||||
ENV SOURCEBOT_ENCRYPTION_KEY=""
|
||||
|
||||
EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import Ajv from "ajv";
|
||||
import { auth, getCurrentUserOrg } from "./auth";
|
||||
import { notAuthenticated, notFound, ServiceError, unexpectedError, serviceErrorResponse } from "@/lib/serviceError";
|
||||
import { notAuthenticated, notFound, ServiceError, unexpectedError } from "@/lib/serviceError";
|
||||
import { prisma } from "@/prisma";
|
||||
import { StatusCodes } from "http-status-codes";
|
||||
import { ErrorCode } from "@/lib/errorCodes";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import { headers } from "next/headers";
|
||||
import { ZOEKT_WEBSERVER_URL } from "../environment"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue