move config to fix docker compose being grumpy

This commit is contained in:
Lee 2023-07-02 14:50:03 +01:00
parent 3dd92b7885
commit ae03ff059b
4 changed files with 3 additions and 3 deletions

@ -12,4 +12,4 @@ services:
ports: ports:
- 3000:3000 - 3000:3000
volumes: volumes:
- ./config.json:/usr/src/app/config.json - ./:/usr/src/app/config

@ -1,7 +1,7 @@
import { Inter } from "next/font/google"; import { Inter } from "next/font/google";
import "./globals.css"; import "./globals.css";
import Config from "../../config.json"; import Config from "../../config/config.json";
const inter = Inter({ subsets: ["latin"] }); const inter = Inter({ subsets: ["latin"] });

@ -1,5 +1,5 @@
import Image from "next/image"; import Image from "next/image";
import Config from "../../config.json"; import Config from "../../config/config.json";
export default function Home() { export default function Home() {
return ( return (