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