mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-04 10:30:00 -06:00
removed unrelated changes
This commit is contained in:
@@ -80,8 +80,6 @@ COPY --from=source-builder /built-libs /
|
||||
# Install necessary build tools and compilers
|
||||
RUN apk update && apk add --no-cache cmake g++ gcc jq make python3
|
||||
|
||||
|
||||
# The rest of your Dockerfile remains the same
|
||||
# BuildKit secret handling without hardcoded fallback values
|
||||
RUN echo '#!/bin/sh' > /tmp/read-secrets.sh && \
|
||||
echo 'if [ -f "/run/secrets/database_url" ]; then' >> /tmp/read-secrets.sh && \
|
||||
@@ -122,10 +120,11 @@ RUN --mount=type=secret,id=database_url \
|
||||
# Extract Prisma version
|
||||
RUN jq -r '.devDependencies.prisma' packages/database/package.json > /prisma_version.txt
|
||||
|
||||
# Runner stage
|
||||
#
|
||||
## step 3: setup production runner
|
||||
#
|
||||
FROM base AS runner
|
||||
|
||||
# The rest of your Dockerfile remains unchanged
|
||||
RUN npm install -g corepack@latest
|
||||
RUN corepack enable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user