Docker
This commit is contained in:
18
Dockerfile
18
Dockerfile
@ -1,23 +1,23 @@
|
||||
# Use the official Node.js 20 image as the base
|
||||
# Use the official Node.js 20 image
|
||||
FROM node:20
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package.json and package.lock.json
|
||||
# Copy package.json and package-lock.json
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies with verbose output
|
||||
RUN npm install --verbose
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the rest of the application code
|
||||
# Copy the entire app
|
||||
COPY . .
|
||||
|
||||
# Build the Next.js application with debug output
|
||||
RUN npm run build -- --debug
|
||||
# Run Next.js build
|
||||
RUN npm run build
|
||||
|
||||
# Expose port 3000
|
||||
# Expose the port the app runs on
|
||||
EXPOSE 3000
|
||||
|
||||
# Start the application
|
||||
# Start the app
|
||||
CMD ["npm", "start"]
|
||||
@ -10,7 +10,7 @@ import PublicCloudInfoSection from "@/components/Home/PublicCloudInfoSection";
|
||||
import BottomFeaturesSection from "@/components/Home/BottomFeaturesSection";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: '3engines',
|
||||
title: '3engines - Cloud services and solutions',
|
||||
description: 'Cloud services and solutions',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user