File size: 353 Bytes
60111f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # Use the official Bun image
FROM oven/bun:latest
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json (if exists)
COPY package*.json ./
# Install dependencies
RUN bun install
# Copy the rest of the application
COPY . .
# Expose the port the app runs on
EXPOSE 7860
# Command to run the application
CMD ["bun", "app.ts"]
|