mirror of
https://github.com/skidoodle/erettsegi-browser.git
synced 2026-04-28 05:27:35 +02:00
fuck tls
This commit is contained in:
+9
-3
@@ -2,6 +2,7 @@ FROM oven/bun:1 AS base
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
|
WORKDIR /app
|
||||||
COPY package.json bun.lock* ./
|
COPY package.json bun.lock* ./
|
||||||
RUN bun install --no-save --frozen-lockfile
|
RUN bun install --no-save --frozen-lockfile
|
||||||
|
|
||||||
@@ -14,12 +15,17 @@ RUN bun run build
|
|||||||
|
|
||||||
FROM base AS runner
|
FROM base AS runner
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ENV NODE_ENV=production
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
ENV NODE_ENV=production \
|
ENV PORT=3000
|
||||||
PORT=3000 \
|
ENV HOSTNAME=0.0.0.0
|
||||||
HOSTNAME="0.0.0.0"
|
|
||||||
|
ENV NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||||
|
|
||||||
RUN groupadd --system --gid 1001 nodejs && \
|
RUN groupadd --system --gid 1001 nodejs && \
|
||||||
useradd --system --uid 1001 -g nodejs nextjs
|
useradd --system --uid 1001 -g nodejs nextjs
|
||||||
|
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||||
|
|||||||
@@ -5,26 +5,26 @@
|
|||||||
"": {
|
"": {
|
||||||
"name": "erettsegi-browser",
|
"name": "erettsegi-browser",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@heroui/react": "^2.8.7",
|
"@heroui/react": "latest",
|
||||||
"framer-motion": "^12.23.26",
|
"framer-motion": "latest",
|
||||||
"next": "16.1.0",
|
"next": "latest",
|
||||||
"next-themes": "^0.4.6",
|
"next-themes": "latest",
|
||||||
"react": "19.2.3",
|
"react": "latest",
|
||||||
"react-dom": "19.2.3",
|
"react-dom": "latest",
|
||||||
"react-icons": "^5.5.0",
|
"react-icons": "latest",
|
||||||
"undici": "^7.16.0",
|
"undici": "latest",
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "2.3.10",
|
"@biomejs/biome": "latest",
|
||||||
"@tailwindcss/postcss": "^4.1.18",
|
"@tailwindcss/postcss": "latest",
|
||||||
"@types/node": "25.0.3",
|
"@types/node": "latest",
|
||||||
"@types/react": "19.2.7",
|
"@types/react": "latest",
|
||||||
"@types/react-dom": "19.2.3",
|
"@types/react-dom": "latest",
|
||||||
"postcss": "8.5.6",
|
"postcss": "latest",
|
||||||
"prettier": "^3.7.4",
|
"prettier": "latest",
|
||||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
"prettier-plugin-tailwindcss": "latest",
|
||||||
"tailwindcss": "^4.1.18",
|
"tailwindcss": "latest",
|
||||||
"typescript": "5.9.3",
|
"typescript": "latest",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,5 +3,6 @@ import { Agent } from "undici";
|
|||||||
export const insecureAgent = new Agent({
|
export const insecureAgent = new Agent({
|
||||||
connect: {
|
connect: {
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user