File size: 461 Bytes
e3625a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | FROM node:20
# Install basic tools for the agent
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
ffmpeg \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install
# Copy project files
COPY . .
# Build TypeScript
RUN npx tsc
# Expose the port
EXPOSE 3000
# Start the self-executing agent server
CMD ["node", "dist/api/index.js"] |