diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2c23295 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# Use the official Node.js 18 image as a parent image +FROM node:18-alpine + +# Set the working directory +WORKDIR /app + +# Copy package.json and package-lock.json +COPY package*.json ./ + +# Install dependencies +RUN npm install + +# Copy the rest of your app's source code +COPY . . + +# Build your Next.js app +RUN npm run build + +# Expose the port the app runs on +EXPOSE 3000 + +# Start the app +CMD ["npm", "start"] \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx index a36cde0..ec57f98 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -14,8 +14,11 @@ const geistMono = localFont({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Terminal Tinder", + description: "Generate and discover terminal color schemes", + icons: { + icon: '/app-icon.svg', + }, }; export default function RootLayout({ @@ -29,6 +32,9 @@ export default function RootLayout({ className={`${geistSans.variable} ${geistMono.variable} antialiased`} > {children} + ); diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..9ea9962 --- /dev/null +++ b/next.config.js @@ -0,0 +1,10 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + server: { + host: '0.0.0.0', + port: 3000, + }, +} + +module.exports = nextConfig \ No newline at end of file