emoji-encoder/Dockerfile
2025-02-14 19:08:01 +01:00

21 lines
333 B
Docker

FROM oven/bun:1
WORKDIR /app
# Copy package files
COPY package*.json bun.lockb ./
# Install dependencies including Next.js
RUN bun install --verbose
# Copy the rest of the application
COPY . .
# Build the application
RUN bun run build
# Expose the default Next.js port
EXPOSE 3000
# Start the application
CMD ["bun", "start"]