agentscope / Dockerfile
ghostdrive1's picture
Upload folder using huggingface_hub
69e26e5 verified
Raw
History Blame Contribute Delete
462 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
curl git redis-server \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g pnpm
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -e ".[full]"
WORKDIR /app/examples/web_ui
RUN pnpm install
RUN pnpm build
WORKDIR /app
RUN chmod +x /app/start.sh
EXPOSE 7860
CMD ["/app/start.sh"]