Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
COPY --from=builder /app/prisma ./prisma
COPY --from=builder /app/prisma.config.ts ./
COPY --from=builder /app/server.ts ./
COPY --from=builder /app/src ./src
COPY --from=builder /app/tsconfig.json ./
COPY --from=builder /app/next.config.mjs ./
COPY --from=builder /app/tailwind.config.ts ./
COPY --from=builder /app/postcss.config.mjs ./

# Create data directory for SQLite
Expand Down
1 change: 0 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "slate",
"cssVariables": true,
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
context: .
target: runner
ports:
- "3000:3000"
- "18081:3000"
volumes:
# Persist SQLite database
- quiz-data:/app/prisma/data
Expand Down
5 changes: 1 addition & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
experimental: {
// Externalize @ngrok/ngrok to avoid webpack bundling native modules
serverComponentsExternalPackages: ["@ngrok/ngrok"],
},
serverExternalPackages: ["@ngrok/ngrok"],
images: {
remotePatterns: [
{
Expand Down
Loading