feat(docker): containerise the setup
This commit is contained in:
+6
-1
@@ -1,11 +1,16 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const supabaseHostname = process.env.NEXT_PUBLIC_SUPABASE_URL
|
||||
? new URL(process.env.NEXT_PUBLIC_SUPABASE_URL).hostname
|
||||
: "localhost";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "kuichrzrbdwydixbdfon.supabase.co",
|
||||
hostname: supabaseHostname,
|
||||
pathname: "/storage/v1/object/public/**",
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user