diff --git a/Dockerfile b/Dockerfile index 7b078fa..7d772ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,20 @@ -# Use an official Node.js runtime as the base image -FROM node:18-alpine +# docker/dev.Dockerfile +FROM oven/bun:latest -# Set the working directory in the container -WORKDIR /app +WORKDIR /app/next-app -# Copy package.json and package-lock.json to the working directory -COPY package*.json ./ +COPY package.json ./ +COPY bun.lockb ./ -# Install dependencies -RUN npm ci +RUN bun install -# Copy the rest of the application code COPY . . -# Build the Next.js application -RUN npm run build +ENV NEXT_TELEMETRY_DISABLED=1 + +RUN bun next build -# Expose the port that Next.js uses EXPOSE 3000 # Set the command to run the application -CMD ["npm", "start"] \ No newline at end of file +CMD ["bun", "run", "start"] \ No newline at end of file diff --git a/src/components/people/PeopleList.tsx b/src/components/people/PeopleList.tsx index 3d4d89c..3aaec78 100644 --- a/src/components/people/PeopleList.tsx +++ b/src/components/people/PeopleList.tsx @@ -85,7 +85,7 @@ export default function PeopleList() { return (
{people.map((person) => ( - + ))}
)