Update Dockerfile
Browse files1234567891011121314151617181920# Use the official Bun imageFROM oven/bun:latest# Set working directoryWORKDIR /app# Copy package.json and package-lock.json (if exists)COPY package*.json ./# Install dependenciesRUN bun install# Copy the rest of the applicationCOPY . .# Expose the port the app runs onEXPOSE 3000# Command to run the applicationCMD ["bun", "app.ts"]1234567891011121314151617181920# Use the official Bun imageFROM oven/bun:latest# Set working directoryWORKDIR /app# Copy package.json and package-lock.json (if exists)COPY package*.json ./# Install dependenciesRUN bun install# Copy the rest of the applicationCOPY . .# Expose the port the app runs onEXPOSE 7860# Command to run the applicationCMD ["bun", "app.ts"]
Dockerfile+20-20