forked from FoundationAgents/OpenManus
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathDockerfile.sandbox
More file actions
32 lines (26 loc) · 842 Bytes
/
Dockerfile.sandbox
File metadata and controls
32 lines (26 loc) · 842 Bytes
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
29
30
31
32
FROM python:3.12-slim
RUN apt-get update \
# Install curl, ca-certificates and unzip
&& apt-get install -y --no-install-recommends curl ca-certificates unzip \
# Install Node.js 20.x
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
# Install Deno
&& curl -fsSL https://deno.land/install.sh | sh \
&& ln -s /root/.deno/bin/deno /usr/local/bin/deno \
# Clean up
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Set working directory
WORKDIR /app
# Install Python package manager
RUN pip install --no-cache-dir uvenv
# Set environment variables
ENV PYTHONUNBUFFERED=1
ENV NODE_ENV=development
# Verify installation
RUN python --version
RUN node --version
RUN npm --version
RUN deno --version
CMD ["bash"]