# Use a base image with Bun FROM oven/bun:latest # Set working directory WORKDIR /app # Copy the entire project COPY . . # Make the scripts executable RUN chmod +x install.sh run.sh # Run the install script to set up dependencies RUN ./install.sh # Set environment variables with defaults ENV HOST=0.0.0.0 ENV PORT=3000 # Expose the port EXPOSE ${PORT} # Run the application CMD ["./run.sh"]