cdn/Dockerfile
2025-02-24 20:33:38 -05:00

20 lines
363 B
Docker

# Use the official Bun image as base
FROM oven/bun:1
# Set working directory
WORKDIR /app
# Copy package.json and bun.lockb (if exists)
COPY package*.json bun.lockb* ./
# Install dependencies
RUN bun install
# Copy the rest of the application
COPY . .
# Expose the port your Express server runs on
EXPOSE 3000
# Start the server
CMD ["bun", "run", "start"]