mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
15 lines
374 B
Docker
15 lines
374 B
Docker
FROM python:3.12-bookworm
|
|
|
|
# Install Node.js 20.x
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
&& apt-get install -y nodejs \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install global npm packages
|
|
RUN npm install -g husky vite
|
|
|
|
# Create and activate Python virtual environment
|
|
RUN python -m venv /opt/venv
|
|
ENV PATH="/opt/venv/bin:$PATH"
|
|
|
|
WORKDIR /workspace |