Delete Dockerfile
Browse files- Dockerfile +0 -44
Dockerfile
DELETED
|
@@ -1,44 +0,0 @@
|
|
| 1 |
-
FROM node:20
|
| 2 |
-
|
| 3 |
-
# Prevent interactive installer menus
|
| 4 |
-
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
-
|
| 6 |
-
# Install Python 3, pip, and layout rendering engines required by OpenSwarm
|
| 7 |
-
RUN apt-get update && apt-get install -y \
|
| 8 |
-
python3 \
|
| 9 |
-
python3-pip \
|
| 10 |
-
python3-venv \
|
| 11 |
-
curl \
|
| 12 |
-
git \
|
| 13 |
-
libreoffice \
|
| 14 |
-
poppler-utils \
|
| 15 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 16 |
-
|
| 17 |
-
# Set up the secure app directory inside the default 'node' user profile
|
| 18 |
-
WORKDIR /home/node/app
|
| 19 |
-
RUN chown -R node:node /home/node/app
|
| 20 |
-
|
| 21 |
-
# Switch over to the non-root 'node' user identity
|
| 22 |
-
USER node
|
| 23 |
-
|
| 24 |
-
# Configure isolated global paths for NPM binaries
|
| 25 |
-
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
|
| 26 |
-
ENV PATH=/home/node/.npm-global/bin:$PATH
|
| 27 |
-
|
| 28 |
-
# Install WeTTy globally inside our user-controlled path to serve the terminal interface
|
| 29 |
-
RUN npm install -g wetty
|
| 30 |
-
|
| 31 |
-
# Clone the official public VRSEN OpenSwarm codebase directly into the container
|
| 32 |
-
RUN git clone https://github.com/VRSEN/OpenSwarm.git .
|
| 33 |
-
|
| 34 |
-
# Install the Python package dependencies for the multi-agent layers
|
| 35 |
-
RUN pip3 install --no-cache-dir --user -r requirements.txt
|
| 36 |
-
|
| 37 |
-
# Pre-install the repository Node.js artifact generation requirements
|
| 38 |
-
RUN npm install || npm ci
|
| 39 |
-
|
| 40 |
-
# Expose Hugging Face Space's target web traffic routing lane
|
| 41 |
-
EXPOSE 7860
|
| 42 |
-
|
| 43 |
-
# Launch WeTTy on port 7860, configured to drop you instantly into the terminal UI launcher
|
| 44 |
-
CMD ["wetty", "--port", "7860", "--command", "python3 run.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|